Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Building Qt 5.5. apps for iOS 9?
Forum Updated to NodeBB v4.3 + New Features

Building Qt 5.5. apps for iOS 9?

Scheduled Pinned Locked Moved Mobile and Embedded
iosqt5
3 Posts 3 Posters 1.4k 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.
  • M Offline
    M Offline
    madsdk
    wrote on last edited by
    #1

    I have previously been running my Qt 5 application on iOS 8 without any problems, but after upgrading to XCode 7 and iOS 9 I can't even compile the app for iOS anymore. After upgrading XCode to version 7 I found that I needed to specify the Mac OS SDK version in my .pro file like so QMAKE_MAC_SDK = macosx10.11. That worked perfectly for building the application for Mac OS, but when I try to build for iOS I get the following message:

    Current macosx10.11 SDK version (10.11) is too old. Please upgrade Xcode.

    I obviously can't upgrade XCode since that I was I just did :-) I'm guessing my best bet is to find a way to "downgrade" my XCode and Mac OS SDKs, but that would mean waving goodbye to iOS 9 support for now...

    Does anybody know how I can get it to work on iOS 9?

    Best regards,
    Mads

    timdayT 1 Reply Last reply
    0
    • M madsdk

      I have previously been running my Qt 5 application on iOS 8 without any problems, but after upgrading to XCode 7 and iOS 9 I can't even compile the app for iOS anymore. After upgrading XCode to version 7 I found that I needed to specify the Mac OS SDK version in my .pro file like so QMAKE_MAC_SDK = macosx10.11. That worked perfectly for building the application for Mac OS, but when I try to build for iOS I get the following message:

      Current macosx10.11 SDK version (10.11) is too old. Please upgrade Xcode.

      I obviously can't upgrade XCode since that I was I just did :-) I'm guessing my best bet is to find a way to "downgrade" my XCode and Mac OS SDKs, but that would mean waving goodbye to iOS 9 support for now...

      Does anybody know how I can get it to work on iOS 9?

      Best regards,
      Mads

      timdayT Offline
      timdayT Offline
      timday
      wrote on last edited by timday
      #2

      @madsdk : This may be relevant, or link to something which is https://bugreports.qt.io/browse/QTCREATORBUG-15147

      (me, I'm still on xcode6)

      1 Reply Last reply
      0
      • F Offline
        F Offline
        Fabien.Bourgeais
        wrote on last edited by
        #3

        Hello,

        I had the same issue.
        I modified my .pro with this two lines :

        @ osx: QMAKE_MAC_SDK = macosx10.11
        ios: QMAKE_MAC_SDK = iphoneos9.1
        @

        This works for me, and I didn't change Qt5.5.1 settings.
        Hope it helps.

        Best Regards, Fabien.

        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