Commit 0fc07d29 authored by Alexandru Croitor's avatar Alexandru Croitor Committed by Kai Koehne
Browse files

Fix Xcode version check to work with major versions >= 10


We used lessThan for the Xcode version check, which started to fail
when comparing Xcode 10 with Xcode 7.3, because lessThan first tries
to convert the arguments to ints and if that fails, it does string
comparison instead.

Rewrite the code to be similar to the SDK checks.
We can't use the qmake versionAtLeast function because it was added
in Qt 5.10, and we still need to be able to build against Qt 5.9.

Task-number: QTBUG-69476
Change-Id: I831a683ee676838a4d531a4d6e715182e9e4193d
Reviewed-by: default avatarMichael Brüning <michael.bruning@qt.io>
parent 38952ec3
Showing with 21 additions and 1 deletion
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment