change in automoc

Matthias Kretz kretz at kde.org
Wed Jul 4 22:32:12 BST 2007


On Wednesday 04 July 2007, Alexander Neundorf wrote:
> This means that you can now add #include "foo.moc" to a cpp file and the
> buildsystem will detect this without having to rerun cmake (or touching a
> cmake file).

Another nice thing is that you may now define QObject subclasses in the .cpp 
file and the automoc will create the moc file from the .cpp file instead of 
the the header file. This is handy for testcases where the extra header file 
was only needed for the old automoc.

> This also means that KDE4_AUTOMOC() is now empty, it doesn't do anything
> anymore. For compatibility it is still there to keep things working.

Yes, you may remove all kde4_automoc lines from your CMakeLists.txt but only 
beginning with next monday...

-- 
________________________________________________________
Matthias Kretz (Germany)                            <><
http://Vir.homelinux.org/
MatthiasKretz at gmx.net, kretz at kde.org,
Matthias.Kretz at urz.uni-heidelberg.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20070704/6445e4c8/attachment.sig>


More information about the kde-core-devel mailing list