Makefile, moc and subdir
Tarjei Knapstad
tarjeik at chemcon.no
Thu Feb 21 16:29:26 GMT 2002
On Thu, 21 Feb 2002, Pascal Francq wrote:
> Hi, I have create a subdir in a kdevelop project containing some
> classes that need moc because they define slots and signals. Actually,
> for this subdir, KDevelop has not modify the makefiles to call moc. Is
> there a way to do is withouth to hack directly the Makefiles?
>
Yeah, this is a slight nuisance, but there's a quick remedy. Just right
click the subdir and select "Update Makefile.am". KDevelop checks all
headers in the subdir for the Q_OBJECT macro I think, and moc's the ones
that need it (no pun intended...)
So, whenever you insert the signals/slots into a header, remember to
update the Makefile.am.
--
Tarjei Knapstad
-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«
More information about the KDevelop
mailing list