[Qt-interest] Extract used Qt classes from sources

Ulf-Alexander v. Ceumern-Lindenstjerna ceumern at vrmagic.com
Fri Oct 9 13:32:45 CEST 2009


> In my project I've used the global header files (QtGui, QtCore,
> QtNetwork, ...), without caring about the Qt classes I really need, in
> order to speed up the editing of my source files. Now that my project
> is working, I'd like to find out, for each .h/.cpp, which Qt classes I
> really use, and to replace the global #include directives with
> specialized ones, in order to speed up compilation. 

How about you use PCH and don't care about (static) includes anymore?

See http://en.wikipedia.org/wiki/Precompiled_header
And http://doc.trolltech.com/4.5/qmake-precompiledheaders.html

Cheers, Ulf




More information about the Qt-interest-old mailing list