On Friday 08 June 2007, Thiago Macieira wrote: > Alexander Neundorf said: > > IOW we have to stay with a non-source-file extension. > > Yep: > > *.moc for anything #included (this includes moc_*.moc, if needed) > moc_*.cpp for anything that isn't #included (but has a Q_OBJECT > nonetheless)
But KDE4_AUTOMOC will not run the moc unless you include a file ending in .moc. QT4_GENERATE_MOC can be used to explicitly create a moc file from a header file, though it also uses OBJECT_DEPENDS (why is it allowed here and not in KDE4_AUTOMOC?). QT4_AUTOMOC also uses OBJECT_DEPENDS... -- ________________________________________________________ Matthias Kretz (Germany) <>< http://Vir.homelinux.org/ [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]
pgp4TuXz6XuaV.pgp
Description: PGP signature
_______________________________________________ Kde-buildsystem mailing list Kde-buildsystem@kde.org https://mail.kde.org/mailman/listinfo/kde-buildsystem