Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How to define sdk path for Mac osx 10.12 and xcode 8?
:-1: warning: no such sysroot directory: '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk'
I have upgraded to MacOSX10.12.sdk.
How can I confige?
IIRC, add this:
QMAKE_MAC_SDK = macosx10.12
to your .pro file.
I have resolved by added path to /Users/zhongwei/Qt5.6.0/5.6/clang_64/mkspecs/features/mac/sdk.prf
QMAKE_MAC_SDK_PATH = "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk"
@SGaist I try this method but report
Could not resolve SDK path for 'macosx10.12'"
Strange, did you respect the casing ? Meaning all lowercase ?
By the way, which version of Qt are you using ?