Build issue after OSX El Capitan Upgrade
-
I am getting a compiler message after upgrading to OSX El Capitan that is the following:
:-1: warning: no such sysroot directory: '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk'
My SDK is currently at MacOSX10.11.sdk.
Does this require a recompile of the Qt SDK with the new Xcode 7 command line tools? Or is there a configuration file in the build where I can set the SDK environment variable?
I haven't been able to fine any documentation on Qt5.5 where this parameter resides.
-
I had the same issue. The following addition to my project file helped:
QMAKE_MAC_SDK = macosx10.11