Bug 789606

Summary: RFE: OpenCV with QT support
Product: [Fedora] Fedora Reporter: Pavel Zhukov <pavel>
Component: opencvAssignee: Rakesh Pandit <rakesh.pandit>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: hhorak, karlthered, kklic, kwizart, nomis80
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-09-02 11:48:54 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Pavel Zhukov 2012-02-11 17:49:51 UTC
Please build opencv with qt support. 
I've built and tested QT support, all samples works fine. 
https://koji.fedoraproject.org/koji/taskinfo?taskID=3781407
Just replace 
gtk2-devel with qt-devel and add  -DWITH_QT=ON to cmake options.
I think best way is create 2 packages opencv-qt and opencv-gtk which conflict and provide opencv package.

Comment 1 Nicolas Chauvet (kwizart) 2012-02-11 18:03:35 UTC
Can you list which files use qt and which ones use gtk when both are compiled ?
The primary usage of opencv is as a library so i don't mind having the gui part subpackaged as a -samples (or something else) that would requires both qt and gtk.

Comment 2 Pavel Zhukov 2012-02-11 18:57:50 UTC
For example /usr/share/include/highgui.c consists links both to QT and GTK functions.

I compiled opencvada some days ago and I had got broken undefined references:
undefined reference to `cvAddText'
undefined reference to `cvCreateButton'
undefined reference to `cvFontQt'
undefined reference to `cvCreateOpenGLCallback'
undefined reference to `cvDisplayStatusBar'
undefined reference to `cvSaveWindowParameters'
undefined reference to `cvDisplayOverlay'
undefined reference to `cvLoadWindowParameters'

But it is not opencvada related bug because OpenCV with QT support contains this references.

Comment 3 Nicolas Chauvet (kwizart) 2012-03-10 15:49:44 UTC
You are not answering my question..

Again. If it's all about examples, those can be in a separate -examples package using both GTK/QT. But it don't think it even worth to build them.

If this have anything to deal with core libraries, this will be another game as we may enable opencv in ffmpeg which tried to remain Xless.

So again my question is which binaries use qt and which ones use gtk ?