1、在桌面创建test文件夹
2、将生成的.exe可执行程序拷到test文件夹中
3、从开始菜单打开 Qt 命令行
4、输入命令:cd /d C:\Users\sun\Desktop\test 。指定到exe目录下
5、输入命令:windeployqt untitled37.exe(windeployqt + exe全名)。
6、双击exe即可正常运行
QT 打包程序
猜你喜欢
转载自blog.csdn.net/sinat_33859977/article/details/103819558
今日推荐
周排行