Trouble Building Qt4 Plugin - moc not being invoked?
Lindsay Mathieson
lindsay.mathieson at gmail.com
Sat Apr 28 13:28:30 BST 2012
On Sat, 28 Apr 2012 12:04:55 PM Andreas Pakulat wrote:
> kde4_add_library, kde4_add_executable, see the documentation of the KDE4
> module. Those wrappers enable automoc, which means you can simply
> write #include "header.moc" (IIRC) in the .cpp file and the buildsystem
> will automatically generate a rule to run moc on header.h. Similarly it
> supports moc'ing of .cpp files if you have QObject classes completely
> inside the .cpp.
I'll have a play with that, thanks
--
Lindsay
More information about the KDevelop
mailing list