- 先将.exe文件放入一个空目录中。
- 从开始菜单选择相应编译器的“Qt for Desktop”。
- 进入.exe文件目录,输入指令“windeployqt MINE.exe”后,显示结果如下图。
- 此时,目录下已自动补全所需要的文件。
参考Qt帮助文档
Usage: windeployqt [options] [files]
Qt Deploy Tool 5.9.0
The simplest way to use windeployqt is to add the bin directory of your Qt
installation (e.g. <QT_DIR\bin>) to the PATH variable and then ru