一.前期准备
1.Qt 5.14.2 (MSVC 2017 64-bit)
2.x64_x86 Cross Tools Command Prompt for VS 2019
3.Everything
二.具体步骤
1.打开工程文件选择Release版本运行代码,生成???.EXE文件
2.找到生成好的exe文件夹
==3.用QT自带的windeployqt工具生成需要的DLL文件。
4.打开进入EXE文件目录
cd C:\Users\WIN10\Desktop\Stuady\6.QT\iconeditor\bin
5.生成需要的DLL文件
windeployqt iconeditor.exe
6.这时候并没有完成,还需要用到x64_x86 Cross Tools Command Prompt for VS 2019去查看还需要的DLL文件。
dumpbin /IMPORTS iconeditor.exe> output.txt
7.打开output.txt
删除后的文件
8.打开Everything软件搜索所需要的dll
搜集好的文件