• Tor Arne Vestbø's avatar
    Verify Xcode installation more thoroughly before relying on it · f73a7ca4
    Tor Arne Vestbø authored
    
    We depend on Xcode for building Qt itself and user application on Mac OS.
    The user may have an Xcode install that is not set up properly, in which
    case we would fail compilation in mysterious ways. Instead we try to
    detect misconfigured or missing Xcode installs as early as possible.
    
    We try to detect if an Xcode install has not been chosen yet, and
    if the user has not accepted the Xcode license agreement. We need to
    do these checks both in configure, as early as possible, and in mkspecs
    on Mac OS, as we need to error out if the user tries to build an app
    with the Qt SDK, but with a broken Xcode install.
    
    Change-Id: I4e3a11077a61dc5d4ee2c686d01044a9bb2c1c79
    Reviewed-by: default avatarOswald Buddenhagen <oswald.buddenhagen@digia.com>
    f73a7ca4