Preferred method for integration with Qt

asked 2017-10-12 00:25:39 -0600

Martian gravatar image

From what I understand, there are three ways to interface to Qt:

#1: Use the built-in defaults which have limited functionality (no buttons, etc) #2: Enable Qt within the OpenCV CMake file to integrate more capabilities into the OpenCV build. #3: Use the full Qt platform independently (no bringing Qt into the OpenCV build).

I've been able to build and use vanilla OpenCV (#1 above), but when I enable Qt within the CMake file (#2 above), I'm getting link errors when I try to build apps.

Rather than chasing the link errors, I could possible go with #3 above (use Qt on its own), using Qt on its own. That could provide the additional functionality that I'm looking for (buttons and such). My question is how that would provide any integration with OpenCV. I'm currently able to place trackbars within OpenCV windows. Is that capability lost in scenario #3 above?

edit retag flag offensive close merge delete

Comments

is the problem with #2 related to this ?

berak gravatar imageberak ( 2017-10-12 00:33:30 -0600 )edit