Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Problems with xcode OS X 10.11.2 and Qt 5.4.1
QtWS25 Last Chance

Problems with xcode OS X 10.11.2 and Qt 5.4.1

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
3 Posts 2 Posters 1.1k Views
  • 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.
  • K Offline
    K Offline
    kenchan
    wrote on last edited by
    #1

    Hello, I am trying to build my app with Qt 5.4.1 on the latest version of OS X (10.11.2). I have updated to xcode 7.2 and all looks well with that.
    My problem is that the compile looks for the wrong version of the sdk so I get compiler issues.
    it is looking here...
    /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk
    when it should be looking here...
    /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
    because that is the only sdk in that path.
    I have added QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.11 to my .pro file but it does not make any difference.
    This procedure has worked fine on OS X up until now.

    I would really appreciate any advice anyone can offer as to how to make it find the correct path.
    Thank you.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      IIRC you need to set the QMAKE_MAC_SDK variable to macosx10.11

      Hope it helps

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1
      • K Offline
        K Offline
        kenchan
        wrote on last edited by
        #3

        Thank you @SGaist, that solved the problem.

        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