[Development] OS X SDK set via configure is not used during build (dev branch)

Thiago Macieira thiago.macieira at intel.com
Wed Jan 13 00:55:48 CET 2016

On Wednesday 13 January 2016 00:36:14 Mikkel Krautz wrote:
> Hi,
> I'm currently on 10.10, Yosemite, using Xcode 7.1.1 (as of this writing).
> This version of Xcode only ships with the 10.11 SDK. But I am on 10.10.
> When I built Qt (dev branch), by passing -sdk macosx10.11 -- the only
> SDK I have -- to configure, I get build failures.
> Inspecting the compiler flags, I see that the OS X 10.10 SDK is being
> used (-isysroot, etc.).

Remove all .qmake.{cache,super} files you may have. The build stores the 
version of the SDK it found when you first ran qmake and won't check again. 
This wasn't a problem in the past because Apple used to provide the same SDK 
for more than one version of Xcode, so you were unlikely to upgrade and lose 
the SDK you last had.
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

More information about the Development mailing list