From a8021ed98591f71eba2affc412ffc4e79e3ac11f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tor=20Arne=20Vestb=C3=B8?= Date: Tue, 5 Mar 2013 18:45:27 +0100 Subject: [PATCH] Fix Xcode version lookup in xcode.conf We want the second member from 'Xcode 4.x', and $$first() gave us 'Xcode' instead of the version number. Change-Id: Iaf0ed9dc89a03f7918290a61bddade82651ad0f6 Reviewed-by: Oswald Buddenhagen --- mkspecs/common/xcode.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mkspecs/common/xcode.conf b/mkspecs/common/xcode.conf index 4604caf074..9da6406f7f 100644 --- a/mkspecs/common/xcode.conf +++ b/mkspecs/common/xcode.conf @@ -13,5 +13,5 @@ isEmpty(QMAKE_XCODE_DEVELOPER_PATH): \ # Extract Xcode version using xcodebuild xcode_version = $$system("xcodebuild -version") -QMAKE_XCODE_VERSION = $$first(xcode_version) +QMAKE_XCODE_VERSION = $$member(xcode_version, 1) unset(xcode_version)