[Qt-interest] Qt 4.4, Snow Leopard & QMAKE_COMP_QMAKE_OBJECTIVE_CFLAGS
Mike Jackson
imikejackson at gmail.com
Tue Sep 8 17:18:58 CEST 2009
On 2009-09-04 15:00:36 -0400, Dave Thorup <lists at kuwan.net> said:
>
>
> On Sep 4, 2009, at 9:38 AM, Brad Howes wrote:
>
>> Can you even make Qt 4.4.3 run under Snow Leopard? I may be mistaken,
>> but I think Snow Leopard requires a Cocoa, not Carbon, backend. I've
>> compiled the latest Qt source (to be 4.6 sometime) under Snow Leopard
>> and all works fine (almost).
>
>
> Nope, Snow Leopard doesn't drop Carbon support and Qt 4.4.3 runs just
> fine on it. As I mentioned in my initial message I was able to get it
> built, I'd just like to figure out how to do it properly so that the
> next time I do it I won't have to manually edit a bunch of Makefiles
> that were generated by qmake. In other words, I'd like to figure out
> how to set QMAKE_COMP_QMAKE_OBJECTIVE_CFLAGS properly so that when
> qmake builds all the Qt make files that it will have the right SDK set
> for Objective-C files.
>
> Switching to a newer version of Qt isn't an option right now as our
> project is in the final stages of development.
You might try configuring Qt with the -sdk flag. Might help.
Also by using the 10.4 SDK you are LIMITING yourself to a 10.4 ONLY
installation. You app may or may not run under 10.5 or 10.6. What you
_really_ want to do is set the -mmacosx-version-min is probably what
you are looking for. And combined with the 10.5SDK for PPC
compatibility if that is also what you are wanting.
<http://public.kitware.com/Bug/view.php?id=6195> has a good write up of
what is going on with links to several Apple technotes on all of this.
Mike Jackson
More information about the Qt-interest-old
mailing list