查看完整版本: [-- 怎样加快Qt 编译速度? --]

QTCN开发网 -> Qt基础编程 -> 怎样加快Qt 编译速度? [打印本页] 登录 -> 注册 -> 回复主题 -> 发表主题

qquck 2010-12-22 19:29

怎样加快Qt 编译速度?

在Qt Creator环境下, 即使是很简单的程序, 编译起来也太慢了, 相比VC/mfc,  qt的编译过程明显要慢很多, 如果是debug模式,还会更慢, 等得很受不了。
qt难道没有实现增量编译或预编译的技术么?

大家说说看,怎么提高编译速度。

xtfllbl 2010-12-22 20:24
make参数加上 -j4

4代表你的CPU内核数量,双核就用-j2

cycloneii 2010-12-22 20:26
如果是在windows下vs2008版本的qt,那么就用jom.exe替换nmake.exe

qquck 2010-12-23 08:50
谢谢,回头试试。

shixingya 2018-02-26 10:53
http://blog.csdn.net/hsshh1988/article/details/52604196 这个帖不错


查看完整版本: [-- 怎样加快Qt 编译速度? --] [-- top --]



Powered by phpwind v8.7 Code ©2003-2011 phpwind
Gzip disabled