Bug 789606 - RFE: OpenCV with QT support
Summary: RFE: OpenCV with QT support
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: opencv
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Rakesh Pandit
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-11 17:49 UTC by Pavel Zhukov
Modified: 2012-09-02 11:48 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-09-02 11:48:54 UTC
Type: ---


Attachments (Terms of Use)

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 ?


Note You need to log in before you can comment on or make changes to this bug.