【发布时间】:2010-11-30 07:18:13
【问题描述】:
我目前正在运行 Windows Vista Home Premium,并且我和我的朋友使用 Qt Creator 开发了一个应用程序。我们现在正在尝试将我们的应用程序部署为一个可执行文件,因此我们正在尝试进行静态构建。我们在 .pro 文件中添加了 CONFIG += static。
我们正在使用此文档来帮助我们:
http://doc.trolltech.com/4.1/deployment-windows.html
当我尝试构建 QT 时,我使用以下命令:
configure -static -platform win32-msvc
然后我得到这个错误:
Creating qmake...
execute: File or path is not found (nmake)
execute: File or path is not found (nmake)
Cleaning qmake failed, return code -1
我想我必须将 nmake 添加到我的 PATH 中,但我在我的计算机上找不到它。任何帮助将不胜感激。谢谢。
【问题讨论】:
标签: c++ qt static build windows-vista