OpenCV 2.4 with Qt Enhancements AND full Qt
davethomaspilot <at> bellsouth.net <thom1212 <at> bellsouth.net>
2012-06-09 11:52:36 GMT
I moved up to 2.4 and saw the same issue as reported in Bug #1890. Many of the Qt features work, but not the
enhanced sliders or buttons.
I tried both debug and non-debug versions of highgui When I use the non-debug dll's I also see strange
behavior in cv::addText. The strings passed get prefixed with extra characters for some reason. So, I'm
just sticking with the debug dlls for now.
I don't see any discussion about these issue or plans to fix in future releases. The Qt features have been
labeled "experimental". Will they be maintained in future releases?
I've been planning to "bite the bullet" and learn Qt anyway, so I can get a better Gui implementation than
what's possible with highgui. Since the Qt support in 2.4 seems at least partially broken, I figure others
might be interested in my progress.
So far, I've using Qt Designer in Visual Studio 10 to create a main window and launch my multi-threaded
openCV application from that GUI. I'll add buttons and sliders under menu items accessible from the
I'm already taking care to limit Qt calls to the main thread only. I want strict control of when GUI events are
processed, so it works well for them to be processed only when cvWaitKey calls are made.
So far, I've seen no additional issues.
I'm not sure if I'll change my applications threading mechanisms to use those provided by Qt. Those were
tricky to debug, so I hesitate to mess with them. Two threads run asynchronous to each other, but each must
communicate synchronously with the main thread. Someday I do want multi-platform support so that's
probably the way to go.
If anyone knows of why this won't work or major "Show Stoppers" (using full blown Qt with OpenCv 2.4 with Qt
enhancements), I'd appreciate hearing why.
Change settings: http://www.yahoogroups.com/mygroups, select
Get Emails (get all posts)
Daily Digest (one summary email per day)
Read on the web (read posts on the web only)Or Unsubscribe by mailing OpenCV-unsubscribe <at> yahoogroups.com