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. Project ERROR: Could not resolve SDK path for 'macosx10.8'

Project ERROR: Could not resolve SDK path for 'macosx10.8'

Scheduled Pinned Locked Moved Installation and Deployment
5 Posts 3 Posters 15.7k 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.
  • B Offline
    B Offline
    Bidochon
    wrote on last edited by
    #1

    Me again,

    Trying to build the same gettingStartedQml C++ folder (file dialog) but on a different mac computer. I follow the instruction in the tutorial using
    @qmake@

    This time I know I'm using the right qmake (5.2.1). I see the terminal thinking for a few seconds and get the error message
    @Project ERROR: Could not resolve SDK path for 'macosx10.8'@

    Any help please

    Thanks

    Bidochon

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

      Hi and welcome to devnet,

      Are you sure this Mac has Xcode setup properly ? And the command line tools ?

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

        I'm pretty confident it does. I don't have access to this computer right now but I will definitively check that to be sure. I will let you know.

        thanks for the Reply

        Bidochon

        1 Reply Last reply
        0
        • S Offline
          S Offline
          SteveLibre
          wrote on last edited by
          #4

          Hi ,

          I used to get the same error message as the thread opener:
          Project ERROR: Could not resolve SDK path for 'macosx10.8'

          My environment is nearly identical to his : MacOS X 10.9
          Qt 5.3.2 (Problem occurs since I upgraded from 5.3.1 to 5.3.2 and upgraded to Xcode 6.0.1 the same time.)

          After working through some forum threads I tried to solve the problem by changing the qmake.conf which in my case is stored in /Applications/Qt5/5.3/clang_64/mkspecs/macx-clang/qmake.conf
          to configure
          QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.9 instead of 10.6
          what resulted in the clang command line now containing the option -mmacosx-version-min=10.9
          the part yet unsolved is how do I change the sysroot ( current error message:
          clang: warning: no such sysroot directory: '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk)

          ,that does not exist on there as clang indicates , into
          /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk in which my updated Xcode resides.

          adding export QMAKE_MAC_SDK=macosx10.9 did not do the trick

          any ideas how to continue ? (changing the 8 to a 9 manually in the Makefile renders cumbersome over time ...)

          best regards
          Steve

          1 Reply Last reply
          0
          • S Offline
            S Offline
            SteveLibre
            wrote on last edited by
            #5

            The problem was solved - browsing the postings to the mailing list the last hours I found one with a link to this page:

            http://stackoverflow.com/questions/25940368/qt5-target-conditionals-not-found

            changing the qdevice.pri file to MacOS10.9 fixes the problems
            ( in the same step it eliminates problems with dylib image not found for all frameworks )

            regards
            Steve

            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