

The configure screen will make you specify the qmake path. In the configuration screen type in “DEBUG” (or “RELEASE” if you want to build a release version) for CMAKE_BUILD_TYPE. Select “Specify Native Compilers” and click Next.ġ5. Specify the generator: MinGW Makefiles.ġ1.
QT CREATOR 2.3.1 INSTALL
Install Qt SDK with the C++ compiler option (MinGW). You probably need to select a different build tool.ĬMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.ĬMake Error: Could not find cmake module file:C:/OpenCV-MinGw/CMakeFiles/CMakeCXXCompiler.cmakeĬMake Error: Could not find cmake module file:C:/OpenCV-MinGw/CMakeFiles/CMakeCCompiler.Steps to build OpenCV 2.2 with Qt Creator 2.0.1 and MinGW:ġ. “CMake Error: CMake was unable to find a build program corresponding to “MinGW Makefiles”.”ĬMake Error: CMake was unable to find a build program corresponding to “MinGW Makefiles”. Thanks a lot for your guidance, I’m getting another error message now in the message area =)

You need to puth the path to the qmake.exe here.įor me it is

Now you’ll see a similar window to the last one and it asks for the path of qmake.exe. If you like you can check the box for BUILD_EXAMPLES, so you can play with the examples 🙂 Set “DEBUG RELEASE” for CMAKE_BUILD_TYPE.

Wait some time and you’ll get a configuration screen.
QT CREATOR 2.3.1 GENERATOR
Select the generator as MinGW Makefiles.Īnd select Use default native compilers and press finish. Now give the source folder ( Mine is C:\\OpenCV2.2) and create a folder for the binaries to be build (my case it is C:\\OpenCV2.2MinGw ) and give the path to the “Where to build binaries” box. Now we need to comiple the OpenCV libraries. Newer versions also can be used in the same way i describe here with minor changes. (I used CMake 2.8.2)ĭownload OpenCV-2.2.0-win.zip and extract it to a folder (In my case it is C:\\OpenCV2.2 ). ( I have installed Qt SDK version 1.1.4 which includes the QT Creator IDE version 2.3 into the folder “C:\\QtSDK”)
QT CREATOR 2.3.1 DOWNLOAD
Installing and configuring QT to work with OpenCV in WindowsįIrst we need to download and install the complete QT SDK. Do some research, you’ll find the importance. If you are using Visual Studio the window will open seperately to display the video. The main advantage in using QT is that we can easily “integrate” the GUIs of OpenCV inside the GUIs created with QT.( Correct me if I’m wrong) What it means is that, It is hard to insert a video window inside a form created with C#. QT is an C++ IDE which can be used to create gui applications easily. So talking about C++ why not using Visual C++ ? Of course you can easily design GUIs. OpenCV can be used mainly in programs written in C and C++ (not only that, there are so many wrappers which enables you to work with OpenCV in other languages too). You can find more info from their web site. If you don’t know yet, OpenCV is a free library for image processing and computer vision applications.
