[Qt-interest] Qt 4.6 on OSX - choosing between carbon and cocoa versions?
Daniel Price
daniel.price at fxhome.com
Wed Dec 2 15:29:25 CET 2009
Thank you for the info!
Do you have the URLs for both installers? I couldn't find them.
Also is there a reason the mac installers prevent you from installing multiple versions of qt? I wanted to keep my 4.5.3 installation but the installer didn't give me a choice. This isn't an issue on windows or linux.
>From what you've explained, if I want both the carbon and cocoa installations, I'll have to build Qt myself (not a fun prospect).
> -----Original Message-----
> From: qt-interest-bounces at trolltech.com [mailto:qt-interest-
> bounces at trolltech.com] On Behalf Of Richard
> Sent: 02 December 2009 13:57
> To: qt-interest List
> Subject: Re: [Qt-interest] Qt 4.6 on OSX - choosing between carbon and
> cocoa versions?
>
>
> > I assume that the Cocoa version of Mac-qt is identical in function
> > to the carbon version except that it can be built for 64bit, right?
>
> Correct! But if you need to target Mac OS 10.4 (and ppc), you need to
> use the Carbon version. If you need 64-bit support, you need to use
> the Cocoa version. If you need both 64-bit and Mac OS 10.4/ppc
> support, you must either ship two different versions of your
> applications, or build Qt from sources yourself (and specify the
> needed configurations to the configure script, e.g. ./configure -arch
> x86 -arch ppc -arch x86_64, which will give you cocoa 64-bit, and
> carbon 32-bit and carbon ppc 32-bit).
>
> > I ran the installer using the default options - does that mean it
> > installed both versions? If so, how do I choose which version to
> > link against in my projects?
>
> The Qt-4.6.0 package contains either the cocoa port or the carbon port
> of Qt, not both. So it depends on which package you downloaded. The qt-
> mac-cocoa-opensource-4.6.0.dmg will be the cocoa port. If you build Qt
> from sources, you can specify which configuration to use from within
> the project file (.pro), e.g. CONFIG += x86 x86_64 ppc (this will
> create a universal binary).
>
> >
> > Are there any significant issues outstanding in using the cocoa
> > version? I don't need it AFAIK but I would appreciate the info.
> >
>
> Accessibility is not yet implemented. ITOH, the cocoa port includes
> multi-touch and gesture support (the carbon port doesn't, unless you
> build Qt/Carbon from source on Mac OS 10.6 (the you will get
> gestures)).
>
> -Richard
>
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
> No virus found in this incoming message.
> Checked by AVG - www.avg.com
> Version: 9.0.709 / Virus Database: 270.14.88/2537 - Release Date:
> 12/01/09 19:32:00
This email is confidential. It may also be privileged or otherwise protected by work product immunity or other legal rules. If you are not the intended recipient please notify the sender. Please delete the message from all places in your computer where it is stored. You should not copy the email or use it for any purpose or disclose its contents to any other person.To do so may be unlawful. Email is an informal means of communicating and may be subject to data corruption accidentally or deliberately. For this reason it is inappropriate to rely on advice contained in an email without obtaining written confirmation of it first.
FXhome Limited is a limited company registered in England and Wales. Registered number: 04172812. Registered office: The Henderson Business Centre, Ivy Road, Norwich, Norfolk, NR5 8BF, U.K.
More information about the Qt-interest-old
mailing list