将生成的release.exe复制到目标空文件夹打开Qt命令行,进入目标文件夹,如:cd /d D:\helloqml使用 windeployqt 工具命令:windeployqt release.exe --qmldir + QtQml路径,如:windeployqt helloqml.exe --qmldir C:\Qt\Qt5.4.0\5.4\mingw491_32\qml 参考自这里