1、找到SerialPort.exe的路径,并复制该路径。

2、按下win+Q(win10)打开Windows搜索框,输入qt,就很容易找到qt 5.12.0 for desktop,然后打开。

3、进入需要打包软件的路径

4、输入windeployqt SerialPort.exe

5、此时SerialPort.exe所在的目录多了很多库文件,直接点击SerialPort.exe,也可以打开了。

时间:2024-10-13 06:41:34
1、找到SerialPort.exe的路径,并复制该路径。
2、按下win+Q(win10)打开Windows搜索框,输入qt,就很容易找到qt 5.12.0 for desktop,然后打开。
3、进入需要打包软件的路径
4、输入windeployqt SerialPort.exe
5、此时SerialPort.exe所在的目录多了很多库文件,直接点击SerialPort.exe,也可以打开了。