开发者

How to selectively build Qt for VS2010?

I have been building Qt library for VS2010 for 4 hours now, and it seems that it will go on for a while. (At the moment it is building something related to javascript.)

Is there an option to just build the stuff I want?

It would be much much easier if I had installed VS 2008 and the prebuilt library of QT for VS 2008. Is this a better开发者_运维知识库 option?


configure.exe -platform win32-msvc2010 -no-webkit -no-phonon -no-phonon-backend -no-script -no-scripttools -no-multimedia -no-qt3support -fast

Is my fast build setting for Qt - takes about 20mins on a decent single CPU desktop. Webkit is particularly slow to build, it uses lots of complex templated code.


Try configure.exe --help to see what can be disabled.


In addition to turning items off in configure (as other answers have pointed out), you can also cd src after running configure and only run nmake on the src directory and not build all the examples, etc. That cuts off quite a bit.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜