在构建Qt-Static 5.3.2时遇到问题

时间:2015-01-04 18:39:00

标签: c++ windows qt powershell

所以我想构建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应用程序以供发布,请告诉我。

感谢。

1 个答案:

答案 0 :(得分:0)

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

相关问题