gpt4 book ai didi

c++ - 构建 Qt-Static 5.3.2 时遇到问题

转载 作者:太空宇宙 更新时间:2023-11-04 13:40:38 25 4
gpt4 key购买 nike

所以我想构建 Qt Static,这样我的应用程序就可以在没有 Qt 的情况下运行。按照以下链接中的说明进行调试。

http://qt-project.org/wiki/How-to-build-a-static-Qt-for-Windows-MinGW

我使用的脚本名为 Windows-build-qt-static.ps1。

我按照说明在 Windows Powershell 中执行了脚本,并将配置行参数更改为使用 5.3.2 构建而不是 5.2。

构建 15 分钟后出现以下错误。

mingw32-make1: Target ‘install’ not remade because of errors.
mingw32-make1: Leaving directory ‘C:/Qt/Static/src/qt-everywhere-opensource-src-5.3.2/qtbase’
Makefile:75: recipe for target ‘module-qtbase-install_subtargets’ failed
mingw32-make: *** [module-qtbase-install_subtargets] Error 2
mingw32-make: Target ‘install’ not remade because of errors.

我不完全了解构建开发人员环境的过程,因此请提供有关解决此问题的任何建议。

此外,如果您有任何其他方法来构建要发布的静态 QT 应用程序,请告诉我。

谢谢。

最佳答案

我遇到了同样的问题,我在安装 Python 和 ActivePerl 并设置变量 PATH 后解决了这个问题。

关于c++ - 构建 Qt-Static 5.3.2 时遇到问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27768970/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com