【问题标题】:on Windows Qt Creator where do I enter commands like "cd" "nmake" and "configure"在 Windows Qt Creator 上,我在哪里输入“cd”“nmake”和“configure”等命令
【发布时间】:2015-04-09 23:08:48
【问题描述】:

我在窗户上。我需要从我完成的 Qt 项目中创建一个 .exe 独立(静态)可执行文件。

根据http://doc.qt.io/qt-5/windows-deployment.html

要做到这一点,我必须做一些事情,比如在某个地方输入这个

cd C:\path\to\Qt
configure -static <any other options you need>

和

nmake clean
qmake -config release
nmake

但我不知道在哪里做这个?!在 Windows 或 Qt 编辑器的什么位置执行此操作?

【问题讨论】:

  • 没人会尝试回答这个问题吗?

标签: windows qt console enter nmake


【解决方案1】:

进入开始菜单,输入“cmd”然后回车。它将打开一个 Windows 命令提示符。那是应该输入命令的地方。

【讨论】:

  • 感谢 jpo,我试过了,但收到了“configure”错误,因为目录中没有“configure.exe”。所以我想我一定是做错了,不,我需要下载 Qt 源代码。
  • 当然,当你有源代码时编译它一定更容易;-)
猜你喜欢
  • 2012-12-06
  • 2013-06-26
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2011-10-08
  • 2019-02-16
相关资源
最近更新 更多