码迷,mamicode.com
首页 > 其他好文 > 详细

Qt5 OpenCV2.4 Configuration

时间:2015-03-11 07:06:36      阅读:135      评论:0      收藏:0      [点我收藏+]

标签:

 

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

 

Qt5 OpenCV2.4 Configuration

标签:

原文地址:http://www.cnblogs.com/grandyang/p/4328896.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!