No moc file generation

p_george p_george at club-internet.fr
Wed Nov 3 17:35:18 GMT 1999


p_george wrote:
> 
> I was working on a project that compiled well. After adding class and
> methods, configure and make processes seem OK, but at linking it
> complains of missing symbols (QPaintDevice virtual table, etc.).
> These symbols correspond to those of *.moc.cpp files, which in fact are
> not generated. I tried 'make distclean' , manually made aclocal,
> autoconf, automake and so on... but without any success.
> 
> So, how to make the project generate automatically the moc files ?
> 
> Thanks.

1. I have found out that automoc was not present in the root project
directory (still don't know why and how it disappeared).

2. When using kdevelop beta4, and trying an 'autoconf and automake' I
get an error because it tries a 'gmake -f Makefile.cvs' : in fact I
don't use any cvs for that project. It is confirmed by the
project->options dialog : version control is set up to none (it is
confirmed in the .kdevprj file, although I find surprising that it is
translated ("Aucune" in French instead of "None").
This bug doesn't appear if I start a brand new project.




More information about the KDevelop mailing list