2013-05-01 06:22:51 -0600 | commented answer | OpenCV C++ interface and Qt framework Hi, I have tried Qt creator, but for some reason, it won't work on my system. It keeps complaining about the target system (being x64, not x86). And when I change the target system, the error just reverses. So complete fail :) However, my problem seemed to resolve itself for god knows which reason! I can call opencv functions without any problems (only imread still fails, so I use cvLoadImage). Can't explain why, don't have time to find out the problem at the moment. Hopefully later on :) |
2013-04-21 13:55:47 -0600 | received badge | ● Student (source) |
2013-04-21 04:31:06 -0600 | asked a question | OpenCV C++ interface and Qt framework Hello all. I've been using OpenCV to create a project I need to make. I made a fully functioning console application, and now want to make it more graphical (adding a GUI). I'm using Qt for that. Everything went well, I was getting into Qt programming, but then something strange happened. When I was calling some of my functions from the Qt project, I was experiencing strange crashes. From some reason, certain opencv functions fail when called from a 'qt project'. Functions include split, findChessboardcorners, cornerSubPix, ... I used the c++ interface. Strangly, the crashes seemed to resolve when calling the function with the c interface. Does anybody has ANY idea why this might happen? I'm using OpenCV 2.4.2, and Qt 4.8.4. Any help would be greatly appreciated. Note: I'm using Windows 7, 64 bit. IDE is Visual Studio 2010. Kind regards, Philip |