kde and moc files

Alexander Neundorf neundorf at kde.org
Mon May 12 23:48:08 BST 2008


On Tuesday 13 May 2008, Alexander Neundorf wrote:
> On Monday 12 May 2008, André Wöbbeking wrote:
> > On Monday 12 May 2008, Alexander Neundorf wrote:
> > > On Monday 12 May 2008, Michael Jansen wrote:
> > > > On Monday 12 May 2008 14:04:09 Alexander Neundorf wrote:
> > > >
> > > > [ kde4dev @ xavier ][ None ][ 15:14:39 ][
> > > > ~/build/kde/trunk/kdepimlibs/kblog ] [ bash : 1019 ] $ make
> > > > verbose=1 Linking CXX shared library ../lib/libkpimutils.so
> > > > Linking CXX shared library ../lib/libkcal.so
> > > > Scanning dependencies of target kblog
> > > > [  0%] Building CXX object kblog/CMakeFiles/kblog.dir/blogger1.o
> > > > [  2%] Building CXX object kblog/CMakeFiles/kblog.dir/metaweblog.o
> > > > [  2%] Building CXX object kblog/CMakeFiles/kblog.dir/movabletype.o
> > > > [  2%] Building CXX object
> > > > kblog/CMakeFiles/kblog.dir/wordpressbuggy.o
> > >
> > > Hmm, works for me, both with cmake 2.4.5 and current cvs HEAD, after
> > > touching blogger1.*:
> >
> > I had a similar issue with kdelibs/kate/expand...model...
> >
> > I tried:
> > 1) rm expand...moc
> > 2) touch CMakeLists.txt
> > 3) touch expand...{h,cpp}
> >
> > nothing worked for me so I removed the complete kdelibs build dir. I'm
> > using CMake 2.4.x (whatever is in ubuntu 8.10).
>
> I could have saved a lot of time if I would have updated my
> kdesupport/automoc/ before... I missed the last change from last week,
> which seems to have caused these issues.

Ok, it seems it currently doesn't work as it should.
Please update automoc from svn.
The new automoc generates a file "<target>_automoc.cpp.notclean", which now 
the target depends on.
To enforce regenerating the moc files for a target, delete that file.

(the real fix will come later)

Alex




More information about the kde-core-devel mailing list