qt - Makefile:144:目标“全部”的配方失败错误构建静态 QT
问题描述
Windows 10 中的命令 (cia cmd.exe)
configure -release -opensource -confirm-license -prefix C:\Qt\6.1.3\Build
顺利通过,但现在我收到以下错误消息
make -j8
我总是收到以下错误消息并且它中止了。
make[1]: *** [qtbase/src/tools/androiddeployqt/CMakeFiles/androiddeployqt.dir/all] Error 2
[ 15%] 链接 CXX 静态库 ......\lib\libQt6DeviceDiscoverySupport.a 生成版本链接描述文件 [ 15%] 构建目标 DeviceDiscoverySupport Makefile:144: 目标“所有”的配方失败 make: *** [所有]错误 2
解决方案
谢谢,从现在开始我会做的。
这里有一些以前发生的错误消息,附有 vlt。有人可以开始并帮助我。
C:/Qt/6.1.3/Src/qtbase/src/corelib/text/qstringconverter.h:189:87: internal compiler error: in make_rtl_for_nonlocal_decl, at cp/decl.c:6590
Q_CORE_EXPORT static const Interface encodingInterfaces[Encoding::LastEncoding + 1];
^
libbacktrace could not find executable to open
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://sourceforge.net/projects/mingw-w64> for instructions.
qtbase\src\tools\androiddeployqt\CMakeFiles\androiddeployqt.dir\build.make:90: recipe for target 'qtbase/src/tools/androiddeployqt/CMakeFiles/androiddeployqt.dir/main.cpp.obj' failed
make[2]: *** [qtbase/src/tools/androiddeployqt/CMakeFiles/androiddeployqt.dir/main.cpp.obj] Error 1
CMakeFiles\Makefile2:12798: recipe for target 'qtbase/src/tools/androiddeployqt/CMakeFiles/androiddeployqt.dir/all' failed
make[1]: *** [qtbase/src/tools/androiddeployqt/CMakeFiles/androiddeployqt.dir/all] Error 2
[ 15%] Linking CXX static library ..\..\..\lib\libQt6DeviceDiscoverySupport.a
Generating version linker script
[ 15%] Built target DeviceDiscoverySupport
Makefile:144: recipe for target 'all' failed
make: *** [all] Error 2
推荐阅读
- php - 如何在 AJAX 成功函数中比较 AJAX 值和 PHP 值
- php - 可以确定“可调用”是函数还是类方法?
- android - 从手机读取联系人非常慢
- matplotlib - 如何使用 matplotlib 在 3D 中绘制六边形
- rest - 邮递员请求在 Keycloak 保护的 REST API 中失败 春季安全
- api - 维基百科地理定位并没有给出所有最近的页面
- angular - 使用 PouchDB 和 Ionic 3 查找文档
- ios - 无法识别的选择器发送到实例 - 应用程序仅在发布时崩溃
- laravel - Laravel 软件包哎呀异常
- terraform-provider-aws - 如何为 AWS CodeCommit 生成 HTTPS Git 凭证?