moc files

W. Tasin tasin at
Sun Aug 5 16:20:19 UTC 2001

Matthias Hoelzer-Kluepfel wrote:

>Hi all,
>I am a bit tired to fix the moc includes in kdevelop every
>other day. Could we please agree to do it like all the other
>KDE programs, that is to include the .moc file in the cpp
>files? There is a script "kdesdk/scripts/includemocs" that
>helps to convert old code that linked to a .moc.o instead.

could someone help me understand, why this is the actual method handling 
with moc files?

I know I'm a little bit outdated with being "state-of-the-art", but the 
only thing I found about the 2 methods adding moc files to the project 
is and there is written:

*Method A: The class declaration is found in a header (.h) file*
(the Makefile-method)
*Method B: The class declaration is found in an implementation ( .cpp) file*
(the #include-method)

So can someone give me an explanation to this new method to handle mocs?



  The KDevelop project: tasin at -
oohhh sveglia.... il mondo e' ammalato, ma x colpa di chi.........
:-------W. Tasin, FB 04,FHM-------------------PGP-KeyID:0x7961A645---------:
<Key-Fingerprint: 1610 835F 0080 32F4 6140  6CF7 A7D0 44CD 7961A645>

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

More information about the KDevelop-devel mailing list