Results 1 to 2 of 2

Thread: What to target on Mac OS X? 32-bit and/or 64-bit?

  1. #1
    Join Date
    Mar 2010
    Posts
    319
    Thanks
    1
    Thanked 14 Times in 12 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Question What to target on Mac OS X? 32-bit and/or 64-bit?

    Hi,

    I currently use the Cocoa: Mac binary package for Mac OS X 10.5 - 10.6 (32-bit and 64-bit) version of Qt 4.7.3, and I understand that it can be used to build both 32-bit and 64-bit applications.

    Now, because Mac OS X 10.5 supports 64-bit applications, I was wondering whether there is still an argument in favour of having both a 32-bit and a 64-bit version of my application, or whether I could get away with just a 64-bit version of my application?

    Certainly, Apple seems to be encouraging the development of 64-bit applications, and by default if I compile my application on my MacBook Air running OS X 10.6, I get a 64-bit executable. So, I am kind of inclined to only having a 64-bit version of my application, but because I am no Mac expert, I thought I would seek opinions from you guys here...

    Cheers, Alan.

  2. #2
    Join Date
    Jun 2010
    Posts
    26
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: What to target on Mac OS X? 32-bit and/or 64-bit?

    If you only intend to support 10.5+ then 64 bit should be fine. Quite likely there will be no advantage to 64 bit over 32 bit AFAIK, the only way is to test performance in both. Some frameworks are not available in 64 bit (and some not in 32 bit) so think ahead to what functionality you might want to add in the future. Personally, I would be happy to be 64 bit only if I don't mind the limitation of 10.5+ only; Lion will be here soon.

Similar Threads

  1. QMake Target extension
    By gregg in forum Qt Tools
    Replies: 2
    Last Post: 28th February 2011, 18:18
  2. No rule to make target?
    By walsha3000 in forum Qt Programming
    Replies: 1
    Last Post: 2nd July 2010, 05:42
  3. QMake dist-like target?
    By akos.maroy in forum Qt Tools
    Replies: 5
    Last Post: 31st January 2010, 15:49
  4. QtCreator and MSVC with x64 target
    By faldzip in forum Qt Tools
    Replies: 1
    Last Post: 16th June 2009, 09:10
  5. qmake-qt4 & TARGET
    By !Ci in forum Qt Programming
    Replies: 2
    Last Post: 27th September 2006, 22:34

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.