d28073d9eb
The former applies both on Mac OS X and iOS, but 'macx' is specific to Mac OS X. ios.conf and macx.conf now share most of their settings in the common mac.conf. We set the default QMAKE_MAC_SDK before loading mac.conf, so that any overrides in the device config will apply afterwards. This means configure's mkspec parsing will be able to read the QMAKE_MAC_SDK. Change-Id: I0c7e26a6a0103e19b23ef152aa9e4ab461cee632 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com> Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@digia.com>
29 lines
845 B
Plaintext
29 lines
845 B
Plaintext
#
|
|
# qmake configuration for macx-ios-clang
|
|
#
|
|
|
|
MAKEFILE_GENERATOR = UNIX
|
|
CONFIG += app_bundle reduce_exports incremental global_init_link_order lib_version_first plugin_no_soname sdk
|
|
QMAKE_INCREMENTAL_STYLE = sublib
|
|
|
|
QMAKE_MACOSX_DEPLOYMENT_TARGET =
|
|
QMAKE_IOS_DEPLOYMENT_TARGET = 4.3
|
|
|
|
INCLUDEPATH += $$PWD/ios
|
|
DEFINES += DARWIN_NO_CARBON QT_NO_CORESERVICES QT_NO_PRINTER QT_NO_PRINTDIALOG
|
|
|
|
# Universal target (iPhone and iPad)
|
|
QMAKE_IOS_TARGETED_DEVICE_FAMILY = 1,2
|
|
|
|
include(../../common/xcode.conf)
|
|
lessThan(QMAKE_XCODE_VERSION, "4.3"): error("This mkspec requires Xcode 4.3 or later")
|
|
|
|
include(../../common/ios.conf)
|
|
include(../../common/gcc-base-mac.conf)
|
|
include(../../common/clang.conf)
|
|
include(../../common/clang-mac.conf)
|
|
include(../../common/ios/clang.conf)
|
|
include(../../common/ios/qmake.conf)
|
|
|
|
load(qt_config)
|