打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
Win10 + VS2015 下编译 Qt5.6.0
 1 REM ********** Initialize env for msvc 2015 cl compiler ********** 2 SET PATH=C:\Windows;C:\Windows\system32 3 REM Set up \Microsoft Visual Studio 2015, where <arch> is amd64, x86, etc. 4 CALL "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x86 5  6 REM ********** Update include & lib to support xp win sdk 7.1A ********** 7 SET PATH=C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Bin;%PATH% 8 SET INCLUDE=C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Include;%INCLUDE% 9 SET LIB=C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Lib;%LIB%10 SET CL=/D_USING_V140_SDK71_;%CL%11 12 REM ********** 3rd party build tools binaries: ruby, perl, python ********** 13 SET PATH=C:\Ruby22-x64\bin;C:\Perl64\bin;C:\Python35;%PATH%14 15 REM ********** Set up qt source env **********16 SET _ROOT=E:\qt-everywhere-opensource-src-5.6.017 SET PATH=%_ROOT%\qtbase\bin;%_ROOT%\gnuwin32\bin;%PATH%18 REM Uncomment the below line when using a git checkout of the source repository19 REM SET PATH=%_ROOT%\qtrepotools\bin;%PATH%20 SET QMAKESPEC=win32-msvc201521 SET _ROOT=22 23 REM Generate makefile24 configure.bat -confirm-license -opensource -platform win32-msvc2015 -debug-and-release -static -target xp -prefix D:\Qt\Qt5.6.0-static-win32-vs2015-xp -qt-sql-sqlite -qt-sql-odbc -plugin-sql-sqlite -plugin-sql-odbc -qt-zlib -qt-libpng -qt-libjpeg -opengl desktop -qt-freetype -no-qml-debug -no-angle -nomake tests -nomake examples -skip qtquickcontrols -skip qtquickcontrols2 -skip qtsensors -skip qtdoc
本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存 查看更多类似文章
猜你喜欢
类似文章
QT show black screen,solution
QT安装及环境变量设置
Visual Studio 2015编译安装配置QT5.5.1(含QTWEBKIT)
WINCE下编译STLPort
Ubuntu 14.04 搭建嵌入式Qt开发环境
1、QT的安装及环境配置
更多类似文章 >>
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服