Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. New to QT and getting error: "Could not resolve SDK Path for 'macosx10.11"
Forum Updated to NodeBB v4.3 + New Features

New to QT and getting error: "Could not resolve SDK Path for 'macosx10.11"

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 4 Posters 5.4k Views 2 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.
  • L Offline
    L Offline
    lucian044
    wrote on last edited by
    #1

    I am very new to QT, getting into using it as it is used in a group I am in on campus. I cloned a bunch of files from git and am just trying to build the project. When I try to build I get the error: "Could not resolve SDK Path for 'macosx10.11'". I am runnin macOS 10.12 with XCode 8 and QT Creator 4.1. I am not sure how to fix this issue, any help would be much appreciated!

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

      Hi and welcome to devnet,

      AFAIK, you should add QMAKE_MAC_SDK = macosx10.12 to your .pro file.

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

        Hi there @SGaist ,

        I'm currently using Qt for one of my CS classes at Stanford.

        I was able to successful install Qt but when I try and build my first project i get this this error:

        Could not resolve SDK Path for 'macosx' using --show-sdk-path

        My MBP 16' is running Sonoma 14.5 (23F79)

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

          Hi and welcome to devnet,

          Did you install Xcode 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
          • artwawA Offline
            artwawA Offline
            artwaw
            wrote on last edited by
            #5

            Hi @YianniX
            To add to what @SGaist asks:

            • you need Xcode and CLT
            • once installed please run Xcode, it will pop out a license you need to acknowledge, otherwise Qt will throw error "can't find path" to something CLT related and advise you to run Xcode path select (which you need anyway but that license thing is annoying).
              Once you verified the above please try again and let us know the outcome :)

            For more information please re-read.

            Kind Regards,
            Artur

            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