Build OpenCV with Qt Creator on Windows

Follow the listed tutorials one by one, in general there are steps to follow

1. make sure you download the right version for both OpenCV and Qt library

2. extract OpenCV and install Qt with Qt Creator on your computer

3. set environment variable:

QTDIR = C:\Qt\5.1.0,

QMAKESPEC = win32-msvc2010 (not sure with this),

Path = C:\Qt\Qt5.1.0\5.1.0\mingw48_32\bin; C:\Qt\Qt5.1.0\Tools\mingw48_32\bin

2. install CMake with “set environment variables for all user”

3. build OpenCV in CMake

4. use command prompt to install opencv with MinGW

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s