[Qt-interest] Mac deployment to 10.4
Pavel Koshevoy
pavel at aragog.com
Wed Oct 7 17:43:49 CEST 2009
It's not qmake/Qt that allows you to deploy to OSX 10.4 while building
on OSX 10.5. It's Xcode and 10.4u SDK. You can specify 10.4 target
version in qmake .pro file, and that will build your project for 10.4
deployment. However, you will still need to link against Qt, and if you
don't build Qt against 10.4 SDK you won't be able to link to it (or even
if it will link it will not run on 10.4).
Pavel.
Oliver Demetz wrote:
> Hmmm.
> Ok, I believe you that this would be a possible solution to my problem.
>
> BUT:
>
> Since all the infrastructure is included in qmake's options and so on,
> I do not think that this deployment scenario *not* supported officially.
>
> I mean: Officially, this 10.5 - to - 10.4 deploying is supported. You
> can even have these universal binaries.
>
> So, I want to use this "feature", but it does not work.
>
> Recompiling against the old SDK would be like saying: "Oh, my neck
> hurts if I look into the sky. - Solution: Don' look into the sky." Can
> you understand what I mean?
>
> Regards,
> Oliver
>
> Pavel Koshevoy schrieb:
>> Reconfigure and rebuild Qt against /Developer/SDKs/MacOSX10.4u.sdk.
>> Modify your
>> .pro file to use MacOSX10.4u sdk. This should be enough to be able
>> to deploy on
>> OSX Tiger.
>>
>> Pavel.
>>
>>
>> Oliver Demetz wrote:
>>> Aaaah, ok, I found something:
>>>
>>> http://developer.apple.com/mac/library/documentation/TextFonts/Reference/TextInputSourcesReference/Reference/reference.html#//apple_ref/doc/c_ref/kTISPropertyUnicodeKeyLayoutData
>>>
>>>
>>> they write that this is only available in 10.5 and later.
>>>
>>> But what shall I do now?
>>>
>>> Compile Qt on Mac OS X for myself?
>>> But my dev machine is (and will stay) a Macbook running MacOSX 10.5 !
>>>
>>> What switches will I need to set in order to *not* use this symbol
>>> again?
>>>
>>> Regards,
>>> Oliver
>>>
>>>
>>> Mike Jackson schrieb:
>>>> is the Symbol "_kTISPropertyUnicodeKeyLayoutData" available in
>>>> 10.4? That would be one thing I would check.
>>>>
>>>> Try setting the OS X SDK to 10.4u and see if it will even link. You
>>>> may be running into a weak linking issue although I am fuzzy on
>>>> that whole area..
>>>>
>>>>
>>>> Mike
>>>>
>>>> On 2009-10-05 14:09:33 -0400, Oliver Demetz
>>>> <forenbeitraege at oliverdemetz.de> said:
>>>>
>>>>> Well I think this is what was set as default value initially, but
>>>>> I also
>>>>> checked it explicitly. - no luck.
>>>>>
>>>>> I am now using these project setting:
>>>>>
>>>>> mac {
>>>>> QMAKE_MAC_SDK=/Developer/SDKs/MacOSX10.5.sdk
>>>>> QMAKE_CXXFLAGS_PPC += -mmacosx-version-min=10.4
>>>>> QMAKE_CXXFLAGS_x86 += -mmacosx-version-min=10.4
>>>>> QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.4
>>>>> CONFIG+=x86 ppc
>>>>> }
>>>>>
>
More information about the Qt-interest-old
mailing list