OpenCV with Qt support namedWindow crash
Hi,
I've opencv 2.4.2 build with visual studio 2010 and CMAKE (qt support enabled). Whenever, i use a simple program opening a window/use imshow then i get unhandled exception crash and in the terminal window i get opencv error :
OpenCV error: Null pointer <null session="" handler=""> in unknown function, file, pathtoopencv\highgui\src\window_qt.cpp line 909
The same program with the same configuration settings work in 'Release' configuration. It only fails in Debug mode. I also tried to build the opencv with SSE/SSE2 disabled but still am getting the crash.
Regards,
Can you please post whole CMAKE configuration? I compiled the openCV with Qt like two weeks ago, I remember I had some kind of problems too, not exactly like yours, but I fixed it by rolling back a version and changed something in cmake configuration, I should still have it I'll take a look.
I am having the same problem, any update on the situation?
Try rolling back a version if you are using 2.4.2. The compiling part, at least for me, is always a very tricky thing to do.