Removing non-required moc includes

Andras Mantia amantia at kde.org
Mon Jan 23 19:09:16 UTC 2012


On Monday, January 23, 2012 09:39:07 Stephen Kelly wrote:
> Hi,
> 
> I wrote a script to remove most of the moc includes from kdelibs

I probably missed something, but why remove them? Wouldn't that mean slower 
compilation?

> and
> transform the remaining ones from incorrect to correct form (usually from
> #include "foo.moc" to #include "moc_foo.cpp").

Does the built-in automoc not support the "foo.moc" includes?
It'd be a pitty, imo it is much nicer then moc_foo.cpp. 

Andras



More information about the Kde-buildsystem mailing list