[Qt-interest] Extract used Qt classes from sources
Yves Bailly
yves.bailly at sescoi.fr
Fri Oct 9 11:43:15 CEST 2009
Hello,
Antonio Di Monaco a écrit :
> 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.
Source Navigator (http://sourcenav.berlios.de/) might help.
Hope this helps.
--
/- Yves Bailly - Software developper -\
\- Sescoi R&D - http://www.sescoi.fr -/
"The possible is done. The impossible is being done. For miracles,
thanks to allow a little delay."
More information about the Qt-interest-old
mailing list