***********************************************************************************************************************
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
*****************************************************************************************shell
(or) /******RELEASE*******/
*****************************************************************************************
qtmain.lib
Qt5Core.lib
Qt5Gui.lib
Qt5Widgets.lib
Qt5PlatformSupport.lib
qminimal.lib
qoffscreen.lib
qwindows.lib
qtfreetype.lib
qtharfbuzzng.lib
qtpcred.lib
******************************************************************************************windows
/////////////////////////////////////////////////////////////////////////////
VS2017-C++-常規-附加包含目錄(necessary)
////////////////////////////////////////////////////////////////////////////
******************************************************************************************
$(QTDIR)\include\QtCore
$(QTDIR)\include\QtGui
$(QTDIR)\include\QtWidgets
$(QTDIR)\include\QtPlatformSupport
******************************************************************************************api
////////////////////////////////////////////////////////////////////////////
VS2017-連接器-常規-附加庫目錄(necessary)
///////////////////////////////////////////////////////////////////////////
******************************************************************************************
$(QTDIR)\lib
$(QTDIR)\plugins\platforms
******************************************************************************************ide
/////////////////////////////////////
main.cpp(necessary)
////////////////////////////////////
******************************************************************************************
#include <QtPlugin>
Q_IMPORT_PLUGIN(QWindowsIntegrationPlugin)
******************************************************************************************ui
//經常使用配置
******************************************************************************************
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.libdebug
//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.lib3d