[Qt-interest] OpenCV2 + Qt crashes on GUI applications

Albert Graells Rovira txandi at gmail.com
Tue Feb 2 09:17:25 CET 2010


Hello,

I have been using Qt and OpenCV for quite a long time. I have Qt
application that runs without problems with OpenCV1.1, but it crashes
using OpenCV2, more concretely when using libcv200 library; however,
it does not crash when using libhighgui200.

I am using Qt 4.6 (I have also tested older versions) on WinXP with
MinGW (g++ 4.4.0) and the latest SVN version of OpenCV2 (I think it is
2655), compiled by myself in this environment, without doing any
strange tricks apart from including a version of libVideoInput
compiled with g++ 4.4.0.

After testing for a while, I have seen that this behaviour only
happens on GUI applications but not on console ones. Any idea of
what's going on???

I am attatching a tiny program that shows this strange problem.


Thanks in advance,



albert
-------------- next part --------------
A non-text attachment was scrubbed...
Name: program.rar
Type: application/octet-stream
Size: 3309 bytes
Desc: not available
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100202/a0b6c9f5/attachment.obj 


More information about the Qt-interest-old mailing list