简体   繁体   中英

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.

尝试configure.exe --help可以禁用哪些功能。

除了在configure关闭项目(如其他答案所指出的那样),您还可以在运行configure之后执行cd src ,并且仅在src目录上运行nmake而不构建所有示例,等等。这大大减少了。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM