文章来源:https://www.toymoban.com/news/detail-793722.html
我的sdk0文件夹在opencv003项目下,使用opencv451文章来源地址https://www.toymoban.com/news/detail-793722.html
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
到了这里,关于【qt】opencv导入pro的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!