Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. How to target OS X 10.5 and up ?
Qt 6.11 is out! See what's new in the release blog

How to target OS X 10.5 and up ?

Scheduled Pinned Locked Moved Installation and Deployment
1 Posts 1 Posters 1.3k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    TTimo
    wrote on last edited by
    #1

    I need to deploy a small app that targets OS X 10.5 and up.
    I am on a 10.7 system, with XCode 4.2

    I need to target x86 in order to support 10.5. I can do universal binaries to support x86_64 as well, but that's not strictly necessary. I'd prefer Cocoa over Carbon (just because it's new), but no strong preference there either.

    I've read http://qt-project.org/doc/qt-4.8/developing-on-mac.html, in particular:

    bq. There are two versions of the Qt binary, one with x86 and x86_64 Cocoa and another with x86 and ppc Carbon. If you want a different setup you must build Qt yourself using the source package. To explicitly configure Qt to build for 34-bit or 64-bit architectures (or both), use the -arch flags (see Universal Binaries). For the Cocoa version, 64 bit is chosen by default.

    However, I have not been able to find universal binaries for download on the site? All the downloads offered on http://qt.nokia.com/downloads only provide x86_64 (QtSDK, or the Qt Libraries). This all seems in direct contradiction with what's stated on http://qt-project.org/doc/qt-4.8/developing-on-mac.html

    I hope I've missed something. Otherwise, what's my best option:

    • Go back to Qt 4.6.4 linked on http://qt.nokia.com/downloads. I did confirm that those are universal binaries, but I can't use Qt Creator with it, and I need to install an older XCode apparently (3.2).
    • Try to compile Universal Binaries for 4.8 myself. Probably not worth the trouble.
    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved