***********************************************************************************************************************
VS201X(X=7,5,3)与Qt5.7.0(静态库)环境的基本配置;C++ ---代码生成---运行库(debug版改成“/MTd”,release版改成“/MT”)
***********************************************************************************************************************
//
VS2017-链接器-输入-附加依赖项(necessary)
//
****************************************************************************************
kernel32.lib
user32.lib
shell32.lib
uuid.lib
ole32.lib
advapi32.lib
ws2_32.lib
gdi32.lib
comdlg32.lib
oleaut32.lib
imm32.lib
winmm.lib
opengl32.lib
****************************************************************************************
/******DEBUG*******/
****************************************************************************************
qtmaind.lib
Qt5Cored.lib
Qt5Guid.lib
Qt5Widgetsd.lib
Qt5PlatformSupportd.lib
qminimald.lib
qoffscreend.lib
qwindowsd.lib
qtfreetyped.lib
qtharfbuzzngd.lib
qtpcred.lib
*****************************************************************************************
(or) /******RELEASE*******/
*****************************************************************************************
qtmain.lib
Qt5Core.lib
Qt5Gui.lib
Qt5Widgets.lib
Qt5PlatformSupport.lib
qminimal.lib
qoffscreen.lib
qwindows.lib
qtfreetype.lib
qtharfbuzzng.lib
qtpcred.lib
******************************************************************************************
/
VS2017-C++-常规-附加包含目录(necessary)
******************************************************************************************
$(QTDIR)\include\QtCore
$(QTDIR)\include\QtGui
$(QTDIR)\include\QtWidgets
$(QTDIR)\include\QtPlatformSupport
******************************************************************************************
VS2017-链接器-常规-附加库目录(necessary)
///
******************************************************************************************
$(QTDIR)\lib
$(QTDIR)\plugins\platforms
******************************************************************************************
/
main.cpp(necessary)
******************************************************************************************
#include <QtPlugin>
Q_IMPORT_PLUGIN(QWindowsIntegrationPlugin)
******************************************************************************************
//常用配置
******************************************************************************************
VS2017-OpenCV2.4.9(链接器-输入)(记得VC++目录:包含目录和库目录也要设置)
******************************************************************************************
//Debug
opencv_ml249d.lib
opencv_calib3d249d.lib
opencv_contrib249d.lib
opencv_core249d.lib
opencv_features2d249d.lib
opencv_flann249d.lib
opencv_gpu249d.lib
opencv_highgui249d.lib
opencv_imgproc249d.lib
opencv_legacy249d.lib
opencv_objdetect249d.lib
opencv_ts249d.lib
opencv_video249d.lib
opencv_nonfree249d.lib
opencv_ocl249d.lib
opencv_photo249d.lib
opencv_stitching249d.lib
opencv_superres249d.lib
opencv_videostab249d.lib
//Release
opencv_ml249.lib
opencv_calib3d249.lib
opencv_contrib249.lib
opencv_core249.lib
opencv_features2d249.lib
opencv_flann249.lib
opencv_gpu249.lib
opencv_highgui249.lib
opencv_imgproc249.lib
opencv_legacy249.lib
opencv_objdetect249.lib
opencv_ts249.lib
opencv_video249.lib
opencv_nonfree249.lib
opencv_ocl249.lib
opencv_photo249.lib
opencv_stitching249.lib
opencv_superres249.lib
opencv_videostab249.lib