summaryrefslogtreecommitdiffstats
path: root/mkspecs/unsupported
diff options
context:
space:
mode:
Diffstat (limited to 'mkspecs/unsupported')
-rw-r--r--mkspecs/unsupported/macx-ios-clang/qmake.conf6
1 files changed, 1 insertions, 5 deletions
diff --git a/mkspecs/unsupported/macx-ios-clang/qmake.conf b/mkspecs/unsupported/macx-ios-clang/qmake.conf
index 8f176f3f83..3cb68d495a 100644
--- a/mkspecs/unsupported/macx-ios-clang/qmake.conf
+++ b/mkspecs/unsupported/macx-ios-clang/qmake.conf
@@ -15,13 +15,9 @@ 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")
+lessThan(QMAKE_XCODE_VERSION, "4.3"): error("This mkspec requires Xcode 4.3 or later")
include(../../common/ios.conf)
include(../../common/ios/clang.conf)