QT OpenCV2.4.11 .pro文件内容
QT += core
QT -= guiTARGET = HelloWorldTest
CONFIG += console
CONFIG -= app_bundleTEMPLATE = appSOURCES += main.cpp \ drawpicture.cpp \ opencvdatatypes.cppINCLUDEPATH+=C:\opencv\build\include\ C:\opencv\build\include\opencv\ C:\opencv\build\include\opencv2\
LIBS+=C:\opencv\build\x86\vc10\lib\opencv_ml2411d.lib
LIBS+=C:\opencv\build\x86\vc10\lib\opencv_calib3d2411d.lib
LIBS+=C:\opencv\build\x86\vc10\lib\opencv_contrib2411d.lib
LIBS+=C:\opencv\build\x86\vc10\lib\opencv_core2411d.lib
LIBS+=C:\opencv\build\x86\vc10\lib\opencv_features2d2411d.lib
LIBS+=C:\opencv\build\x86\vc10\lib\opencv_flann2411d.lib
LIBS+=C:\opencv\build\x86\vc10\lib\opencv_gpu2411d.lib
LIBS+=C:\opencv\build\x86\vc10\lib\opencv_highgui2411d.lib
LIBS+=C:\opencv\build\x86\vc10\lib\opencv_imgproc2411d.lib
LIBS+=C:\opencv\build\x86\vc10\lib\opencv_legacy2411d.lib
LIBS+=C:\opencv\build\x86\vc10\lib\opencv_objdetect2411d.lib
LIBS+=C:\opencv\build\x86\vc10\lib\opencv_ts2411d.lib
LIBS+=C:\opencv\build\x86\vc10\lib\opencv_video2411d.lib
LIBS+=C:\opencv\build\x86\vc10\lib\opencv_nonfree2411d.lib
LIBS+=C:\opencv\build\x86\vc10\lib\opencv_ocl2411d.lib
LIBS+=C:\opencv\build\x86\vc10\lib\opencv_photo2411d.lib
LIBS+=C:\opencv\build\x86\vc10\lib\opencv_stitching2411d.lib
LIBS+=C:\opencv\build\x86\vc10\lib\opencv_superres2411d.lib
LIBS+=C:\opencv\build\x86\vc10\lib\opencv_videostab2411d.lib
Qt设置断点无效,可能是Debug无效,下载windows调试器:
windows Debug 下载地址:
https://dev.windows.com/zh-cn/downloads/windows-8-1-sdk
内含FrameWork4.5