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. Qt5.3: Could not resolve SDK path for 'macosx10.8'
Forum Updated to NodeBB v4.3 + New Features

Qt5.3: Could not resolve SDK path for 'macosx10.8'

Scheduled Pinned Locked Moved Installation and Deployment
6 Posts 6 Posters 16.3k Views 3 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.
  • J Offline
    J Offline
    jiangcaiyang
    wrote on last edited by
    #1

    Environment: Mac OS X 10.9 Mavericks +
    XCode 6.0 beta +
    Qt 5.3

    I tried "ls /Applications/Xcode6-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs" and only found MacOSX10.10 SDK and MacOSX10.9 SDK.
    How can I install older SDK into my Mac?

    1 Reply Last reply
    0
    • A Offline
      A Offline
      andreyc
      wrote on last edited by
      #2

      You may need to install previous version of Xcode
      From "What's New in Xcode":https://developer.apple.com/library/prerelease/ios/documentation/DeveloperTools/Conceptual/WhatsNewXcode/Articles/xcode_6_0.html#//apple_ref/doc/uid/TP40014509-SW1
      [quote]
      Xcode 6 Beta requires a Mac running OS X version 10.9.3 (or later) or 10.10. It includes SDKs for OS X versions 10.9 and 10.10, and iOS 8.
      [/quote]

      1 Reply Last reply
      0
      • M Offline
        M Offline
        maythe4thbewithu
        wrote on last edited by
        #3

        You may try

        1. Open with a text editor

        Qt5.3 /5.3 /clang_64 /mkspecs /qdevice.pri

        1. change

        !host_build:QMAKE_MAC_SDK = macosx10.8

        to

        !host_build:QMAKE_MAC_SDK = macosx10.9

        1. restart your Qt
        1 Reply Last reply
        0
        • HanlinH Offline
          HanlinH Offline
          Hanlin
          wrote on last edited by
          #4

          Hello, I had the same problem, but I just have one line in qdevice.pri, which is "GCC_MACHINE_DUMP = x86_64-apple-darwin14.0.0", I don't have "!host_build:QMAKE_MAC_SDK = macosx10.9 ", I added this line in the qdevice.pri, it stills showed "Could not resolve SDK path for 'macosx10.11'", do you have any other suggestions? Thank you very much

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

            Hi and welcome to devnet,

            You should also post which version of Qt, OS X and Xcode you are using.

            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
            0
            • shavS Offline
              shavS Offline
              shav
              wrote on last edited by
              #6

              Hi,

              I have been the same problem and found a two way how you can fix it:

              1. Create symbol link for existing macosx folder in Xcode. This way is easy but if you will update Xcode to new version you will need recreate symbol link.
              2. I think it's best way. Open your application folder and remove all files with '.user'. This will remove project settings and you will need reconfigure your project. When you will open your project QtCreator will ask you about new kits. Select kits which you need and click Ok. After this try build you project. All must works.

              WARNING: If you have some custom scripts for you build step in project settings and you select second way you lost this settings. Please save all configuration before you remove settings.

              Mac OS and iOS Developer

              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