Moc/uic etc without KDE cmake dependency
Alexander Neundorf
neundorf at kde.org
Wed Mar 29 21:24:46 CEST 2006
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
--
Work: alexander.neundorf AT jenoptik.com - http://www.jenoptik-los.de
Home: neundorf AT kde.org - http://www.kde.org
alex AT neundorf.net - http://www.neundorf.net
More information about the Kde-buildsystem
mailing list