if "%1" == "" goto x86
rem 屏蔽goto指令
rem if "%2" == "" goto check_platform
rem 增加以下call指令
if "%2" == "" (
echo "In order to specify the SDK version for compilation, the following instructions will be rewritten."
echo "If an error is reported, please check whether your SDK version number is correct."
echo "The new command as bellow:"
echo "%~0 %1 10.0.18362.0"
call "%~0" %1 10.0.18362.0
goto :eof
)
setlocal
set _Argument2=%2
if not "%2"=="store" if not "%2"=="8.1" if not "%_Argument2:~0,3%"=="10." goto usage
endlocal
若命令行编译呢?则可如下所示:
@echo off
if "%QT_TOOLCHAIN%" == "" (
echo "failed to find the environment variable:QT_TOOLCHAIN"
echo "add varianble to environment like: QT_TOOCHAIN=C:\Qt\Qt5.12.12\5.12.12\msvc2017"
pause
exit
)
echo %QT_TOOLCHAIN%|find "msvc2015" >nul
if %errorlevel% neq 0 (
call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" x86 10.0.18362.0
) else (
call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x86 10.0.18362.0
)
call "%QT_TOOLCHAIN%\bin\qtenv2.bat"
当前最新版本:Windows 10 SDK version 2104 (10.0.20348.0)也仍是支持WINDOW 7
deb http://mirrors.ustc.edu.cn/debian stable main contrib non-free
# deb-src http://mirrors.ustc.edu.cn/debian stable main contrib non-free
deb http://mirrors.ustc.edu.cn/debian stable-updates main contrib non-free
# deb-src http://mirrors.ustc.edu.cn/debian stable-updates main contrib non-free
deb http://mirrors.ustc.edu.cn/debian stable-proposed-updates main contrib non-free
# deb-src http://mirrors.ustc.edu.cn/debian stable-proposed-updates main contrib non-free
deb http://mirrors.ustc.edu.cn/debian-security/ stable-security main non-free contrib
# deb-src http://mirrors.ustc.edu.cn/debian-security/ stable-security main non-free contrib