[Uml-devel] kdesdk/umbrello/umbrello/codegenerators

Laurent Montel montel at kde.org
Mon Sep 15 00:22:23 UTC 2003


Le Sunday 14 September 2003 08:32, Oliver Kellogg a écrit :
> Hi Laurent,
>
> > CVS commit by mlaurent:
> >
> > Includemoc
> >
> > [...]
>
> I think few of us understand the moc file handling.
> Could you explain why these includemocs are needed.
> (I am attaching a related posting of mine to uml-devel)

Moc is a created by Qt.
But for reduce time of compilation and dependant when we use multi-processor, 
we included moc
=> add #include "file.moc" to file.cpp

Without this "include" it create a "file.moc.cpp" and a "file.moc.o"
=> lose of time

When after an "includemoc" regenerate your Makefile
=> use "make force-reedit"
and it works very well.

Regards.

> Thanks,
>
> Oliver
>
>
> From: Oliver.Kellogg at t-online.de (Oliver Kellogg)
> To: umbrello-devel at kde.org
> Subject: Re: [Uml-devel] Re: kdesdk: umbrello compile broken
> References: <1062440077.10255.2.camel at localhost>
> 	 <20030902194250.GB31913 at muse.19inch.net>
> <19uIHq-0bpsEC0 at fwd01.sul.t-online.com>
> Date: Mon, 8 Sep 2003 04:54:30 +0200
>
> It turns out that the includemocs are perhaps not really required.
> Instead, cd to the kdesdk directory, then:
>
> sh ./admin/missing --run automake-1.7 --gnu \
>    umbrello/umbrello/codegenerators/Makefile
> perl admin/am_edit  umbrello/umbrello/codegenerators/Makefile.in
> ./config.status umbrello/umbrello/codegenerators/Makefile depfiles




More information about the umbrello-devel mailing list