Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

OpenCV compiled with Qt ?

Here you can discuss every aspect of Debian. Note: not for support requests!
Post Reply
Message
Author
Stemmo
Posts: 30
Joined: 2013-08-20 10:16
Location: Italy

OpenCV compiled with Qt ?

#1 Post by Stemmo »

Hi all,
Debian 10 x64.

I'm starting to develope with OpenCV using the default opencv package (3.2.0).
If I try to use the highgui features like createButton() the program is correctly compiled but when I run it I receive an exception:

Code: Select all

OpenCV Error: The function/feature is not implemented (The library is compiled without QT support) in createButton, file /build/opencv-ytxPbe/opencv-3.2.0+dfsg/modules/highgui/src/window.cpp, line 526
terminate called after throwing an instance of 'cv::Exception'
  what():  /build/opencv-ytxPbe/opencv-3.2.0+dfsg/modules/highgui/src/window.cpp:526: error: (-213) The library is compiled without QT support in function createButton
I'd like to know if this is correct (???) :?:
Do I need some extra packages or do I need to recompile the entire library from the scratch ?

Thanks
SteMMo

Stemmo
Posts: 30
Joined: 2013-08-20 10:16
Location: Italy

Re: OpenCV compiled with Qt ?

#2 Post by Stemmo »

Printing the output of I can confirm that the library is compiled without QT:

Code: Select all

  GUI: 
    QT:                          NO
    GTK+ 3.x:                    YES (ver 3.24.5)
    GThread :                    YES (ver 2.58.3)
    GtkGlExt:                    NO
    OpenGL support:              NO
    VTK support:                 YES (ver 6.3.0)
Is there a way to point to GTK for GUI objects?
SteMMo

Post Reply