Moc/uic etc without KDE cmake dependency

Craig Bradney cbradney at zip.com.au
Thu Mar 30 20:35:19 CEST 2006


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.

Craig


More information about the Kde-buildsystem mailing list