echo "begin deploying..." echo Setting up environment for Qt usage... set PATH=C:\Qt\Qt5.8.0\5.8\mingw53_32\bin;C:/Qt/Qt5.8.0/Tools/mingw530_32\bin;%PATH% set src_path=D:\build-PAL2_0-Desktop_Qt_5_8_0_MinGW_32bit-Release set dst_path=%src_path%\deploy set src_binary=%src_path%\release\PAL2_0.exe set dst_binary=%src_path%\deploy\PAL2_0.exe cd /D C:\Qt\Qt5.8.0\5.8\mingw53_32 copy %src_binary% %dst_binary% cd %dst_path% windeployqt %dst_binary% pause
标签:脚本,src,set,Qt,dst,binary%,一键,path% From: https://www.cnblogs.com/Arnold-Zhang/p/17064417.html