New to QT and getting error: "Could not resolve SDK Path for 'macosx10.11"
-
wrote on 26 Sept 2016, 01:20 last edited by
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!
-
Hi and welcome to devnet,
AFAIK, you should add
QMAKE_MAC_SDK = macosx10.12
to your .pro file. -
wrote on 29 Jun 2024, 04:38 last edited by
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)
-
Hi and welcome to devnet,
Did you install Xcode and the command line tools ?
-
wrote on 1 Jul 2024, 09:36 last edited by
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 :)