diff options
author | Tor Arne Vestbø <tor.arne.vestbo@digia.com> | 2013-02-28 18:31:11 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-02-28 19:22:05 +0100 |
commit | 0520631b2ba04fb99d3d46385f04279cd89a7732 (patch) | |
tree | c970fab36c889741dedcb708e520fe9ec517fc07 /mkspecs/unsupported/macx-ios-clang/qmake.conf | |
parent | 439002cddeb32766ea9806ac8b5cf9a973ed0f13 (diff) | |
parent | 70d5cb406fda70d175faac5f9588f0e345588c56 (diff) |
Merge "Merge branch 'ios' into dev" into refs/staging/dev
Diffstat (limited to 'mkspecs/unsupported/macx-ios-clang/qmake.conf')
-rw-r--r-- | mkspecs/unsupported/macx-ios-clang/qmake.conf | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/mkspecs/unsupported/macx-ios-clang/qmake.conf b/mkspecs/unsupported/macx-ios-clang/qmake.conf new file mode 100644 index 0000000000..8f176f3f83 --- /dev/null +++ b/mkspecs/unsupported/macx-ios-clang/qmake.conf @@ -0,0 +1,30 @@ +# +# qmake configuration for macx-ios-clang +# + +!load(device_config): error("Could not successfully load device configuration.") + +isEmpty(QMAKE_MAC_SDK): QMAKE_MAC_SDK = iphoneos + +# iOS is considered a variant of MacOS by Apple. We follow this to +# keep things simple, e.g. by defining Q_OS_MAC _and_ Q_OS_IOS. +include(../../common/mac.conf) + +include(../../common/gcc-base-ios.conf) +include(../../common/xcode.conf) +include(../../common/clang.conf) +include(../../common/clang-mac.conf) + +# Extract Xcode version using xcodebuild +version_info = $$system("$${QMAKE_XCODE_DEVELOPER_PATH}/usr/bin/xcodebuild -version") +QMAKE_IOS_XCODE_VERSION = $$member(version_info, 1) +unset(version_info) + +# Version check +lessThan(QMAKE_IOS_XCODE_VERSION, "4.3"): error("This mkspec requires Xcode 4.3 or later") + +include(../../common/ios.conf) +include(../../common/ios/clang.conf) +include(../../common/ios/qmake.conf) + +load(qt_config) |