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:
parent
b5bdd31de4
commit
a8021ed985
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user