
1.拷贝生成的exe到一个文件夹备用

2.运行Qt 5.x.x(MSCVC 2019 xxxx)

3. CD 到相应的目录

4.执行指令
windeployqt debug.exe --qmldir D:\Desktop\Qt_Gitee\demo\debug --no-patchqt
其中D:\Desktop\Qt_Gitee\demo\debug就是qml文件所在的位置
windeployqt debug.exe --qmldir D:\Desktop\Qt_Gitee\demo\debug --no-patchqt
其中D:\Desktop\Qt_Gitee\demo\debug就是qml文件所在的位置