aboutsummaryrefslogtreecommitdiffstats
path: root/src/app/qbs-setup-toolchains
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/qbs-setup-toolchains')
-rw-r--r--src/app/qbs-setup-toolchains/probe.cpp2
-rw-r--r--src/app/qbs-setup-toolchains/xcodeprobe.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/app/qbs-setup-toolchains/probe.cpp b/src/app/qbs-setup-toolchains/probe.cpp
index 728c28739..33f67c19f 100644
--- a/src/app/qbs-setup-toolchains/probe.cpp
+++ b/src/app/qbs-setup-toolchains/probe.cpp
@@ -279,7 +279,7 @@ void probe(Settings *settings)
gccProbe(settings, profiles, QLatin1String("gcc"));
gccProbe(settings, profiles, QLatin1String("clang"));
- if (HostOsInfo::isOsxHost()) {
+ if (HostOsInfo::isMacosHost()) {
xcodeProbe(settings, profiles);
}
}
diff --git a/src/app/qbs-setup-toolchains/xcodeprobe.cpp b/src/app/qbs-setup-toolchains/xcodeprobe.cpp
index 91a71ccf0..a23c3e869 100644
--- a/src/app/qbs-setup-toolchains/xcodeprobe.cpp
+++ b/src/app/qbs-setup-toolchains/xcodeprobe.cpp
@@ -117,7 +117,7 @@ static QStringList targetOSList(const QString &applePlatformName)
{
QStringList targetOS;
if (applePlatformName == QStringLiteral("macosx")) {
- targetOS << QStringLiteral("osx");
+ targetOS << QStringLiteral("macos");
} else if (applePlatformName == QStringLiteral("iphoneos")) {
targetOS << QStringLiteral("ios");
} else if (applePlatformName == QStringLiteral("iphonesimulator")) {