QT 编译Opencv 一致报错:
CMake Error: CMake was unable to find a build program corresponding to "MinGW Makefiles". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
解决办法:如图所示勾选Advanced,对变量:CMAKE_MAKE_PROGRAM 设置value .QT目录下的mingw32-make.exe 即可
参考编译资料:https://wiki.qt.io/How_to_setup_Qt_and_openCV_on_Windows