Windows下Qt5.9+minGW+CMake+Opencv4.5编译配置,直接在QT项目中添加路径即可使用:使用方法:INCLUDEPATH += E:\opencv\QTbuild\install\include\
E:\opencv\QTbuild\install\include\opencv
E:\opencv\QTbuild\install\include\opencv2
LIBS += E:\opencv\QTbuild\install\x64\mingw\lib\libopencv_*.a
按照你自己的路径更改既能使用
1