Hello to all,

As it is said in the title, I wish to install opencv2.3 under Qt creator.

My version is OpenCV-2.3.0-win-superpack, I decompressed it and installed under the directory:

Let be C:\Develop\Opencv\build and C:\Develop\Opencv\opencv

I installed then the last one sdk Qt that is:
Qt Creator 2.2.1
Based on Qt 4.7.4 32bit and mingw4.4 (I not nothing changed)

I already have to install opencv2.3 with codeblocks thanks to OpenCV-2.3.0-win-superpack and to MinGW-4.5.2 that I installed and then changed the tool chain in codeblocks.

And my wish would be to make it turn under Qt who seems to me rather nice.

I have already followed quite a lot of explanation but I do not still manage to take out there.

I put a project console with one quite simple hand for tried:


// main.cpp
#include <opencv2/highgui/highgui.hpp>
#include <opencv2/core/core.hpp>

int main(){
cv::Mat image = cv::imread("test.jpg");
cv::namedWindow("My Image");
cv::imshow("My Image", image);
cv::waitKey(-1);
return 0;
}

#.pro
TEMPLATE = app
QT -= gui
TARGET = SimpleCvApp

SOURCES += \
main.cpp

INCLUDEPATH += C:/Develop/Opencv/opencv/modules/core/include \
C:/Develop/Opencv/opencv/modules/highgui/include \
C:/Develop/Opencv/build/x86/mingw/lib
LIBS += "C:\Develop\Opencv\build\x86\mingw\lib\libopencv_c ore230.dll.a" \
LIBS = "C:\Develop\Opencv\build\x86\mingw\lib\libopencv_h ighgui230.dll.a"

I tried some solution, but unsuccessfully. If somebody had a track or a tutorial.

Thank you in advance
Stéphane