[KDE/Mac] Suggestions on Mac OS X, Qt4, and building universal
Benjamin Reed
rangerrick at befunk.com
Thu Jun 4 16:52:39 CEST 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 6/4/09 10:02 AM, Alexander Neundorf wrote:
>> The problem I'm running into is that since I'm building universal
>> binaries, with a 10.4 SDK, the /Developer/SDKs/MacOSX10.4u.sdk
>> directory's /usr/include and /usr/lib don't contain those files, so
>
> I don't really understand.
> Do you say that /usr/include and /usr/lib is outside
> of /Developer/SDKs/MacOSX10.4u.sdk or something else ?
Right. libQtUiTools and the QtUiTools headers are in /usr, but when you
build with an SDK, it appears that Apple's compiler tools *only* look in
the default compiler path that's *inside* the SDK root, ie,
/Developer/SDKs/MacOSX10.4u.sdk. And since
/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/libQtUiTools.dylib doesn't
exist, it bombs when compiling.
> Id didn't understand yet in which way this is specific to universal binaries,
Well, not really specific to universal binaries, but specific to using
an SDK.
> but creating symlinks doesn't sound like a too good solution.
> Can't we tweak FindQt4.cmake to find them correctly ?
That's a good question. I'll experiment with tweaking the include and
lib paths that are searched at compile time...
- --
Benjamin Reed a.k.a. Ranger Rick
Fink, KDE, and Mac OS X development
Blog: http://www.raccoonfink.com/
Music: http://music.raccoonfink.com/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iD8DBQFKJ9+3Uu+jZtP2Zf4RAuOEAJ43gP9g7ep9yj4fMtAroIPVFxiSlgCfSSxV
sD5HCY95x86ggZ5gZT/pJvk=
=vkpT
-----END PGP SIGNATURE-----
More information about the kde-mac
mailing list