kdelibs-trunk, cmake, and QtDBus

Michael Larsen <[email protected]> Wed, 05 Jul 2006 13:11:31 -0400
Newsgroups gmane.comp.kde.darwin
Message-ID <[email protected]>
Hello,

I've been trying to build kdelibs-trunk against the Qt/Mac 4.2 preview
(damn you, qt-copy). Although things are working fine, I've had to
hack things to get cmake to do everything properly.

Firstly, cmake doesn't detect Q_WS_MAC, so I've had to enable that
manually

Secondly, cmake *never* adds '-framework QtDBus' to the linker flags.
I've tried setting CMAKE_EXE_LINKER_FLAGS, CMAKE_MODULE_LINKER_FLAGS,
CMAKE_SHARED_LINKER_FLAGS, and CMAKE_LINKER_FLAGS(does cmake actually
look for this one? I didn't see it in the docs, but it seemed
logical). Has anybody else managed to figure this one out? I'm
starting to get tired of editing the build.make files to have it link
against QtDBus all the time (maybe I'm missing something?).

Thanks in advance,

Michael Larsen

-- 
The cure for boredom is curiosity.
There is no cure for curiosity.
   -- Dorothy Parker