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 <oswald.buddenhagen@digia.com>
This commit is contained in:
Tor Arne Vestbø 2013-03-05 18:45:27 +01:00 committed by The Qt Project
parent b5bdd31de4
commit a8021ed985

View File

@ -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)