Qt - qmake-project,为什么它卡住? [英] Qt - qmake -project, why is it stuck?

查看:772
本文介绍了Qt - qmake-project,为什么它卡住?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试执行 qmake -project 命令:

C:\ Qt\2010.05\qt> qmake -project

但是,它仍然存在,不会被执行。为什么?

But, it remains there and doesn't get executed. Why is that?

感谢。

推荐答案

qmake -project 没有任何额外的参数将递归遍历当前目录,寻找例如源,头文件和UI文件包含在.pro文件中。当你在一个包含大量文件(如Qt文件夹)的目录中运行它时,可能需要很多时间来完成所有这些。这是为什么它似乎卡住了。

qmake -project without any additional arguments will traverse the current directory recursively, looking for e.g. source, header and UI files to be included in the .pro file. When you run it in a directory containing lots of files (such as Qt folder), it can take a lot of time to go through all of them. Thats why it seems to get stuck.

这篇关于Qt - qmake-project,为什么它卡住?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆