error while compiling opencv for QT
i want to use opencv in QT , so i must compile it with mingw . When i want to compile it with CMake 2.8.10.2 it has following error The CXX compiler identification is GNU 4.7.2 The C compiler identification is GNU 4.7.2 Check for working CXX compiler: C:/Qt/Qt5.0.1/Tools/MinGW/bin/g++.exe Check for working CXX compiler: C:/Qt/Qt5.0.1/Tools/MinGW/bin/g++.exe -- broken CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeTestCXXCompiler.cmake:54 (message): The C++ compiler "C:/Qt/Qt5.0.1/Tools/MinGW/bin/g++.exe" is not able to compile a simple test program. It fails with