【发布时间】:2021-12-30 17:57:54
【问题描述】:
我正在尝试使用 Qt 5.5.9 和 Qt Creator 4.11.0 在 Windows 10 中编译 LimeReport。我得到以下编译输出并且编译停止。
/usr/bin/sh: I:\Programs\Qt\Qt5.9.9\5.9.9\mingw53_32\bin\lupdate.exe: command not found
Makefile.Debug:762: recipe for target 'ts' failed
mingw32-make[2]: *** [ts] Error 127
mingw32-make[2]: *** Waiting for unfinished jobs....
mingw32-make[2]: Leaving directory 'E:/Software/C-CPP Windows GUI Programming/Qt/Plugins + Libs/LimeReport/build-limereport-Desktop_Qt_5_9_9_MinGW_32bit-Debug/limereport'
Makefile:36: recipe for target 'debug' failed
mingw32-make[1]: Leaving directory 'E:/Software/C-CPP Windows GUI Programming/Qt/Plugins + Libs/LimeReport/build-limereport-Desktop_Qt_5_9_9_MinGW_32bit-Debug/limereport'
mingw32-make[1]: *** [debug] Error 2
Makefile:89: recipe for target 'sub-limereport-make_first-ordered' failed
mingw32-make: *** [sub-limereport-make_first-ordered] Error 2
11:20:35: The process "I:\Programs\Qt\Qt5.9.9\Tools\mingw530_32\bin\mingw32-make.exe" exited with code 2.
Error while building/deploying project limereport (kit: Desktop Qt 5.9.9 MinGW 32bit)
When executing step "Make"
lupdate.exe 非常多地存在于目录“I:\Programs\Qt\Qt5.9.9\5.9.9\mingw53_32\bin”中。该目录是 PATH 变量的一部分,在 cmd 中输入“lupdate”即可。
请告诉我问题出在哪里以及我是否做错了什么。
注意:我从官方 GitHub 页面下载了源代码,源代码在 Linux 中可以正确编译。我的 Windows 中的 Qt 安装可以正确编译所有其他程序,没有任何问题。
【问题讨论】:
-
从你的 PATH 中移除 msys 的东西并重新开始。
-
我在 PATH 上没有任何 msys 的东西。我什至尝试再次重新安装 Qt,即使是全新安装也报告相同的错误!
标签: c++ qt makefile report lime