Automatic moc generation

Alejandro Exojo suy21 at
Fri Aug 22 13:46:39 BST 2003

El Viernes, 22 de Agosto de 2003 14:05, Mickael Faivre-Macon escribió:
> How to tell KDevelopp to generate a moc source file automatically ?

I think that you're wrong. Kdevelop doesn't generate moc files. moc files are 
generated by the metaobject compiler, and normally, the moc is called in the 
makefiles that kdevelop generates (in reality, kdevelop generates a, which automake uses to create a Makefile).

Create a Qt/KDE project with kdevelop, and then create new classes with it 
assistant. Doing this way, Makefiles will call the moc, and you can forget 
those files.

Best regards.

Alex (a.k.a. suy) - GPG ID 0xAA8D2A01 - Jabber ID: suy at
BOFH excuse #6:

global warming

to unsubscribe from this list send an email to kdevelop-request at with the following body:
unsubscribe »your-email-address«

More information about the KDevelop mailing list