diff options
author | Ivan Komissarov <abbapoh@gmail.com> | 2020-08-01 21:46:43 +0200 |
---|---|---|
committer | Ivan Komissarov <ABBAPOH@gmail.com> | 2020-08-03 09:02:23 +0000 |
commit | 04fe878f70fc1294ca55802bf090ed8ea7580aa0 (patch) | |
tree | f25a7dcd7fc04fe8993387291d6041351bcc8f31 | |
parent | ca04fe9e7c795b0b5e5afd52a76ebaabd056f2c2 (diff) | |
download | qbs-04fe878f70fc1294ca55802bf090ed8ea7580aa0.tar.gz |
xcode: add 'macosx-arm64' profile to the list of auto-created profiles
There is no easy way to get xcode version from the c++ code, so add
arm64 macos for all xcodes
Change-Id: I4a8f6bff8ef5e067689d03a85917cdf0cb601ffe
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
-rw-r--r-- | src/app/qbs-setup-toolchains/xcodeprobe.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/app/qbs-setup-toolchains/xcodeprobe.cpp b/src/app/qbs-setup-toolchains/xcodeprobe.cpp index 67dafa91c..6c3d8a1b3 100644 --- a/src/app/qbs-setup-toolchains/xcodeprobe.cpp +++ b/src/app/qbs-setup-toolchains/xcodeprobe.cpp @@ -95,6 +95,8 @@ static QStringList archList(const QString &applePlatformName) archs << QStringLiteral("x86"); if (applePlatformName != QStringLiteral("watchsimulator")) archs << QStringLiteral("x86_64"); + if (applePlatformName == QStringLiteral("macosx")) + archs << QStringLiteral("arm64"); } else if (applePlatformName == QStringLiteral("iphoneos") || applePlatformName == QStringLiteral("appletvos")) { if (applePlatformName != QStringLiteral("appletvos")) |