summaryrefslogtreecommitdiffstats
path: root/mkspecs/unsupported/macx-iosdevice-clang/qmake.conf
diff options
context:
space:
mode:
Diffstat (limited to 'mkspecs/unsupported/macx-iosdevice-clang/qmake.conf')
-rw-r--r--mkspecs/unsupported/macx-iosdevice-clang/qmake.conf28
1 files changed, 8 insertions, 20 deletions
diff --git a/mkspecs/unsupported/macx-iosdevice-clang/qmake.conf b/mkspecs/unsupported/macx-iosdevice-clang/qmake.conf
index b04d6070ae..330dcf6c3c 100644
--- a/mkspecs/unsupported/macx-iosdevice-clang/qmake.conf
+++ b/mkspecs/unsupported/macx-iosdevice-clang/qmake.conf
@@ -1,10 +1,13 @@
#
# qmake configuration for ios-device-clang
#
-# Depends on:
-#
-# QMAKE_IOS_XCODE_VERSION - set in mkspecs/common/ios/versions.conf
-#
+
+QMAKE_IOS_DEVICE_TYPE = iPhoneOS
+
+# Samsung S5PC100, Apple A4, A5, A5X
+QMAKE_IOS_TARGET_ARCH = armv7
+
+# FIXME: Add armv7s (A6) support when we need it
include(../../common/mac.conf)
include(../../common/gcc-base-ios.conf)
@@ -15,19 +18,4 @@ include(../../common/ios/clang.conf)
include(../../common/ios/qmake.conf)
include(../../common/ios/arch.conf)
-# Version check
-lessThan(QMAKE_IOS_XCODE_VERSION, "4.3"): error("This mkspec requires Xcode 4.3 or later")
-
-# iOS build tools
-QMAKE_CC = $$QMAKE_XCODE_DEVELOPER_PATH/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
-QMAKE_CXX = $$QMAKE_XCODE_DEVELOPER_PATH/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++
-QMAKE_FIX_RPATH = $$QMAKE_XCODE_DEVELOPER_PATH/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool -id
-QMAKE_AR = $$QMAKE_XCODE_DEVELOPER_PATH/Toolchains/XcodeDefault.xctoolchain/usr/bin/ar cq
-QMAKE_RANLIB = $$QMAKE_XCODE_DEVELOPER_PATH/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib -s
-QMAKE_LINK = $$QMAKE_CXX
-QMAKE_LINK_SHLIB = $$QMAKE_CXX
-
-# Check that compiler is valid
-!exists($$QMAKE_CXX): error("The version of Xcode installed on this system does not include the clang compiler")
-
-load(qt_config) \ No newline at end of file
+load(qt_config)