我的sdk0文件夹在opencv003项目下,使用opencv451
INCLUDEPATH += $$PWD/sdk0/opencv/include
CONFIG(release, debug|release) {
LIBS += -L$$PWD/sdk0/opencv/lib/ -lopencv_world451
opencv.files += $$PWD/sdk0/opencv/bin/opencv_world451.dll
opencv.path += $$OUT_PWD/Release
}
else {
LIBS += -L$$PWD/sdk0/opencv/lib/ -lopencv_world451d
opencv.files += $$PWD/sdk0/opencv/bin/opencv_world451d.dll
opencv.path += $$OUT_PWD/Debug
}
COPIES += opencv