[Qt-interest] OpenCV2 + Qt crashes on GUI applications
Valentin Heinitz
vheinitz at googlemail.com
Tue Feb 2 10:46:10 CET 2010
Hello,
console but not GUI? You could check, if some GUI elements / QObjects
from GUI thread are accessed directly from
another thread (e.g. from 3dr part library). If so, consider forwarding
your data via event queue or polling from GUI thread.
Regards.
Am 02.02.2010 09:17, schrieb Albert Graells Rovira:
> 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
>
>
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100202/89a8de75/attachment.html
More information about the Qt-interest-old
mailing list