Qt-interest Archive, April 2008
Deploy app. under many version Mac OS and architechture
Message 1 in thread
I've ported my application from windows to mac. I've tested it with XCode
on mini Mac OS X 10.4 Tiger PPC G4 and it works fine now.
Now I want that my application run under many version of Mac OS (like
10.3,10.4,10.5,ect.) and under the 2 architecture intel and ppc.
Is this possible for one bundle. If not what it is the best procedure to do
because I dont like to have a bundle for each kind of Mac OS an architecture
Best reguards, Mourad
Message 2 in thread
You can use one bundle.
If you have downloaded a prebuild Qt package, it is already universal
(applications you build with it can be used both for ppc and intel),
and it will run on MacOS 10.3 -> 10.5.
If you build Qt yourself, add -universal to Configure.
Also take a look at the deployment guide for Mac to make the bundle
stand-alone:
http://doc.trolltech.com/4.4rc1/deployment-mac.html
-Richard
On Apr 8, 2008, at 10:49 AM, HEDFI Mourad wrote:
> I've ported my application from windows to mac. I've tested it with
> XCode on mini Mac OS X 10.4 Tiger PPC G4 and it works fine now.
> Now I want that my application run under many version of Mac OS
> (like 10.3,10.4,10.5,ect.) and under the 2 architecture intel and ppc.
> Is this possible for one bundle. If not what it is the best
> procedure to do because I dont like to have a bundle for each kind
> of Mac OS an architecture
> Best reguards, Mourad
--
[ signature omitted ]
Message 3 in thread
Richard wrote:
> You can use one bundle.
>
> If you have downloaded a prebuild Qt package, it is already universal
> (applications you build with it can be used both for ppc and intel), and
> it will run on MacOS 10.3 -> 10.5.
>
> If you build Qt yourself, add -universal to Configure.
> Also take a look at the deployment guide for Mac to make the bundle
> stand-alone:
> http://doc.trolltech.com/4.4rc1/deployment-mac.html
To ensure you build both ppc and intel versions I add to my .pro:
macx:CONFIG += ppc
macx:CONFIG += x86
The .app created should be shown in Finder in the latest version of 10.4
or 10.5 as 'universal'.
But this makes the link very slow, so I suggest for day-to-day
development use:
macx:CONFIG += ppc
#macx:CONFIG += x86
NB/ Apps produced with more recent versions of XCode/gcc will only run
from MacOSX 10.3.9.
best regards
Andy Brice
http://www.perfecttableplan.com
http://www.successfulsoftware.net
--
[ signature omitted ]