FS#42816 - [opencv] Please build against QT for additional highgui functionality
Attached to Project:
Arch Linux
Opened by Ng Oon-Ee (ngoonee) - Monday, 17 November 2014, 03:23 GMT
Last edited by Doug Newgard (Scimmia) - Monday, 17 November 2014, 16:24 GMT
Opened by Ng Oon-Ee (ngoonee) - Monday, 17 November 2014, 03:23 GMT
Last edited by Doug Newgard (Scimmia) - Monday, 17 November 2014, 16:24 GMT
|
Details
Description:
OpenCV when built against QT has additional UI functionality for those who used namedWindow etc. [1] This functionality requires building with WITH_QT=ON in cmakeopts. Would be nice to have. Without any code changes, this means current opencv projects with namedWindows would have a right-click menu to apply various simple tasks as well as a toolbar for the same thing. Additionally (and the reason I'm starting to use this for my test projects) they can define a control panel for their trackbars and buttons. It's also possible to NOT use the new QT windows (by adding CV_GUI_NORMAL to the namedWindow function call) for those who don't want to. [1] - http://docs.opencv.org/modules/highgui/doc/qt_new_functions.html#createbutton |
This task depends upon
Closed by Doug Newgard (Scimmia)
Monday, 17 November 2014, 16:24 GMT
Reason for closing: Duplicate
Additional comments about closing: FS#38564
FS#42715
Monday, 17 November 2014, 16:24 GMT
Reason for closing: Duplicate
Additional comments about closing:
Comment by Jan de Groot (JGC) -
Monday, 17 November 2014, 08:39 GMT
Comment by Ng Oon-Ee (ngoonee) -
Monday, 17 November 2014, 08:54 GMT
The problem with building against Qt is that it introduces a
library version lockin. Qt4 applications can't use opencv anymore
when opencv is linked to Qt5 and the other way around.
I see, I was not aware of that issue. So that would mean nomacs,
zart, and gmic (the only packages requiring opencv which are also
qt4 dependent in the repos) would stop working. Understood, I'll
just compile it myself then. IgnorePkg, here I come =) Thank you.