OpenCV in QtCreator

Since I have to use OpenCV and my favourite gui is Qt, I then list the step to include OpenCV in your Qt Project as follow.

  1. First, if you don’t have OpenCV & Qt, install them.
  2. Restart computer.
  3. Run QtCreator and Create new project.
  4. Open .pro file and add “INCLUDEPATH” and “LIBS” of OpenCV in this file as below picture.

Example of adding "INCLUDEPATH" and "LIBS"

That’s it. Easy to do. Try it your self 🙂

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