2016-04-05 14:29:44 -0600 | received badge | ● Student (source) |
2015-02-24 00:34:56 -0600 | asked a question | Tutorial code crashes when using QtCreator Hello, I am completely new to OpenCV and I would like to create an application based on this software via QtCreator. To install OpenCV, I followed the instructions given in the related tutorial. I just use the pre-built libraries of OpenCV and don't intend to create my own libraries : I just would like to do something relatively simple with it. So I just extracted the files and stored them in C:\OpenCV\ ... I tried to compile a very simple code provided by the author of the tutorial where it is explained how to build your own applications with OpenCV. It works when I compile and run the code with Visual Studio but not with QtCreator although the compiler is based on Visual Studio. The program compiles, but crashes at the beginning of the execution, without explanation. I guess this is a problem of linkage but, yet, I have the impression to do what is expected from me, according to what I read on the Internet (tutorials, forums)... but I don't have a lot of experience with 3rd-party softwares. Does anyone sees the problem ? I am using Windows 10 64-bit, Qt5.2.1 - MSVC 2010 32-bit (it is not me who installed it...) and OpenCV 2.4.9. Thanks in advance ! Here is my .pro file : Here is main.cpp (the same as here) |