QMake 和 .pro 文件
我已经下载了一个软件包并正在尝试构建/安装它。该项目的 wiki 页面有一个看起来像这样的命令
qmake VAR=/path/to/something/ project.pro
,它表示该命令应该告诉 qmake
生成一个 make 文件。相反,我得到了
qmake: Nothing to be done for `project.pro'.
为什么 qmake
没有像预期那样生成 make 文件?
I've downloaded a package and am trying to build/install it. The project's wiki page has a command that looks like
qmake VAR=/path/to/something/ project.pro
It says that this command should tell qmake
to generate a make file. Instead, I'm getting
qmake: Nothing to be done for `project.pro'.
Why is qmake
not generating the make file like it's supposed to?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如果不知道有问题的项目或项目 (.pro) 文件的内容,则很难诊断。一种可能性是 qmake 已经运行,或者它要生成的文件包含在您的下载中。在这种情况下,该项目确实无计可施。
作为旁注,我可以建议下载“Qt Creator”并打开其中的项目文件吗? Qt Creator 倾向于使 Qt 开发和项目构建变得更加容易。
Without knowing the project in questions or the contents of the project (.pro) file, it is difficult to diagnose. One possibility is that qmake was already run, or that the files it is to generate are included with your download. In these circumstances, there really is nothing to be done for said project.
As a side note, may I recommend downloading "Qt Creator" and opening the project file in there? Qt Creator tends to make Qt development and project building a lot easier.
我刚刚回答了我自己的问题...显然有不止一个
qmake
。在我的系统上,我们使用qmake:分布式并行make,由Grid Engine调度。
我发现/etc/alternatives/qmake
这是QT qmake...I just answered my own question... apparently there is more than one
qmake
. On my system, we're using aqmake: distributed parallel make, scheduling by Grid Engine.
I found/etc/alternatives/qmake
which is the QT qmake...