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. Can't build project after Xcode 6 update
QtWS25 Last Chance

Can't build project after Xcode 6 update

Scheduled Pinned Locked Moved Installation and Deployment
4 Posts 4 Posters 6.2k 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.
  • J Offline
    J Offline
    jimcad
    wrote on last edited by
    #1

    I recently updated XCode 5 to XCode 6. But now I can't build project any more. This is on Qt 5.3.2

    Here is the error message:
    @clang: warning: no such sysroot directory: '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk'@

    How this can be fixed? Thanks in advanced!

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

      Hi,

      You have two choices: copy the 10.8 SDK from Xcode 5.X.X or rebuild Qt yourself

      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
      • D Offline
        D Offline
        drhalftone
        wrote on last edited by
        #3

        Check out the following thread:

        http://qt-project.org/forums/viewthread/47578

        1 Reply Last reply
        0
        • L Offline
          L Offline
          laureon
          wrote on last edited by
          #4

          Edit: <your_qt_install_path>/5.3/clang_64/mkspecs/qdevice.pri

          change line:

          !host_build:QMAKE_MAC_SDK = macosx10.8

          to:

          !host_build:QMAKE_MAC_SDK = macosx10.9

          Clean your project and run qmake again.

          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