(其实配置完之后感觉很简单,但是配置的时候试了各种方法,真真假假终于试到一个对的)
E:\opencv3.1.0\ //与自己的配置有关
INCLUDEPATH += E:\opencv3.1.0\build\include\opencv2\
INCLUDEPATH += E:\opencv3.1.0\build\include\opencv\
INCLUDEPATH += E:\opencv3.1.0\build\include\
CONFIG(debug,debug|release) {
LIBS +=E:\opencv3.1.0\build\x64\vc14\lib\opencv_world310d.lib
}else{
LIBS +=E:\opencv3.1.0\build\x64\vc14\lib\opencv_world310.lib
}
OpenCV in QtCreator 简易的OpenCV+Qt 图形框架
原文:http://www.cnblogs.com/LingjieLi-vera/p/57405c4f3ba98c11ec7953d520d1e3ca.html