Qt 一键部署脚本

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

 

posted on 2023-01-22 14:09  疾速瓜牛  阅读(87)  评论(0编辑  收藏  举报

导航