[Qt-interest] [OpenCV] OpenCV2 + Qt crashes on GUI applications
Albert Graells Rovira
txandi at gmail.com
Wed Feb 3 07:40:42 CET 2010
Solved :D
The problem was with SSE instructions. I compiled both OpenCV and Qt
with the same instruction set (SSE, SSE2 and SSE3) and now it works
perfectly.
Thanks to everyone!
2010/2/2 Samuel Audet <samuel.audet at gmail.com>:
> If you are running 32-bit x86, it might be due to problems related with SSE
> instructions. If you are compiling Qt, libVideoInput, etc. with a different
> compiler than OpenCV, try to disable SSE in both OpenCV and Qt, as well as
> any other code you might be using..
>
> Samuel
>
> Albert Graells Rovira wrote:
>>
>> 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???
>
>
More information about the Qt-interest-old
mailing list