I installed XCode 4.2 and Qt 5.3 at OS X 10.6 (Snow Leopard). When I trying to compile any project I got "Project ERROR: could not resolve SDK path for 'macosx10.8'".
Can I change sdk version to macosx10.6 at *.pro file or something?
I am working on Maverick, Xcode 6, Qt 5.3.2 & QtCreator 3.2.1:
On .bash_profile (one line):
export SDKROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk
On *.pro:
QMAKE_MAC_SDK = macosx10.9
Clean & qmake & build
DONE :)
You may try
1) Open with a text editor
Qt5.3 /5.3 /clang_64 /mkspecs /qdevice.pri
2) change
!host_build:QMAKE_MAC_SDK = macosx10.8
to
!host_build:QMAKE_MAC_SDK = macosx10.9
3) restart your Qt
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With