[Qt-interest] Extract used Qt classes from sources

Antonio Di Monaco tony at becrux.com
Fri Oct 9 11:31:17 CEST 2009



Hi, 

I've a question regarding the existance of a tool that can parse
source files and extract all Qt classes used. 

Let me explain that in
detail. 

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. Of course, I was wondering if there's a
command-line tool that can do this job. 

Do you know any? I can write one
by myself, but it isn't worth re-inventing the wheel. 

Thanks so much,


BR, 

Tony. 

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091009/5127c6e5/attachment.html 


More information about the Qt-interest-old mailing list