On Thursday 30 March 2006 20:35, Craig Bradney wrote: > On Wednesday 29 March 2006 21:24, Alexander Neundorf wrote: > > On Wednesday 29 March 2006 02:09, Craig Bradney wrote: > > > Hi, > > > > > > I'm attempting to convert Scribus to use cmake, as we want to escape > > > autohell too :) so.. I'm making progress but am stuck for examples on > > > some basics. Its been suggested I would find the most information on > > > this list. > > > > > > The first one is how to moc a source file without using the > > > kde3_automoc macro (which in turn depends on a dependency macro in kde3 > > > cmake files). I have the cmake tarball build from the 17th IIRC (only > > > link I had from the KDE cmake pages anyway). > > > > > > Is there a general pure Qt (v3) solution out there? I've found a lot of > > > > Yes. > > Just use the QT_WRAP_CPP() and QT_WRAP_UI() commands coming with standard > > cmake. > > Their interface is a bit different from the ones used for Qt4, but you > > should be able to figure it out :-) > > > > Bye > > Alex > > > > P.S. I'll write a short howto compile kde3/4/qt4 software using cmake > > ASAP > > Hi Alex, > > Thanks for the tips.. I'm getting there.. Having some more basic examples > out there would be very interesting to read though. >
Ok.. copy and paste magic.. ie, replace same with same and now moc'ing works magically. Is there a way to control the name of the moc file? That is, I'm getting moc_about.cxx and we are using about.moc. If course, I can change all the includes but it'd be nice to keep this as seamless as possible so we can have both build systems in CVS for now. Craig PS.. I know this isn't kde-buildsystem (directly) related.. I hope its ok to continue to ask here.. _______________________________________________ Kde-buildsystem mailing list Kde-buildsystem@kde.org https://mail.kde.org/mailman/listinfo/kde-buildsystem