标签:
Download CMake 2.8.2
Download OpenCV 2.4.11
Download Qt 5.4
Open CMake 2.8.2, set the source and build directory:
Click "Configure", choose "MinGW Makefiles" and "Specify native compliers"
Set the C and C++ compiler from the Qt SDK
Don‘t forget to add the following to the system path:
C:\QtSDK\5.4\mingw491_32\bin
C:\QtSDK\Tools\mingw491_32\bin
Then click "Configure" and "Generate", then open cmd and go the build directory, and run "mingw32-make"
When it is done, then run "mingw32-32 install" and hit enter again
标签:
原文地址:http://www.cnblogs.com/grandyang/p/4328896.html