QT编译wasm报错:The program “mingw32-make.exe“ does not exist or is not executable
- 具体错误
Project WARNING: This Qt was built with Emscripten version 1.39.7. You have 1.39.8. The difference may cause issues.
13:41:21: 进程"D:\Qt3\5.15.2\wasm_32\bin\qmake.exe"正常退出。
13:41:21: The program "mingw32-make.exe" does not exist or is not executable.
13:41:21: Error while building/deploying project QtWasm (kit: Qt 5.15.2 WebAssembly)
13:41:21: When executing step "qmake"
13:41:21: Elapsed time: 00:02.
- 检查设置
- 找到mingw32-make.exe
我QT目录是D:\Qt3。两个目录都有此文件:
D:\Qt3\Tools\mingw810_64\bin、D:\Qt3\Tools\mingw810_32\bin
- 设置:详情下拉
如前面那个图,点击右侧的详情下拉:
- 详情:浏览
找到对应目录(Qt3\Tools\mingw810_64\bin)的文件:
- 设置:结果
- 再次编译
问题顺利解决。