Ask Your Question

# Revision history [back]

Look at the answer posted here: "http://answers.opencv.org/question/22564/how-to-do-opencv-in-windows-application/#22579" it gives an example for combining winforms and OpenCV.

Another option is to use Qt. However, you first need to build OpenCV with Qt support. This requires 3 steps: 1. build Qt from source. 2. configure OpenCV with QT support (see the answer given here for these 2 steps: http://docs.opencv.org/doc/tutorials/introduction/windows_install/windows_install.html), and 3. build OpenCV (this is pretty standard, just build the solution generated with Cmake (see step 2)).

A nice step-by-step tutorial for creating a GUI application using OpenCV with Qt support is given here: http://www.youtube.com/watch?v=0ONxIy8itRA

Look at the answer posted here: "http://answers.opencv.org/question/22564/how-to-do-opencv-in-windows-application/#22579" it gives an example for combining winforms and OpenCV.

Another option is to use Qt. However, you first need to build OpenCV with Qt support. This requires 3 steps: 1. build Qt from source. 2. configure OpenCV with QT support (see the answer given here for these 2 steps: http://docs.opencv.org/doc/tutorials/introduction/windows_install/windows_install.htmlhttp://answers.opencv.org/question/22816/how-to-set-the-path-to-qt5-in-cmake/#22817), and 3. build OpenCV (this is pretty standard, just build the solution generated with Cmake (see step 2)).

A nice step-by-step tutorial for creating a GUI application using OpenCV with Qt support is given here: http://www.youtube.com/watch?v=0ONxIy8itRA