aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/app/qbs-setup-toolchains/probe.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/app/qbs-setup-toolchains/probe.cpp b/src/app/qbs-setup-toolchains/probe.cpp
index d701ab863..134c9077d 100644
--- a/src/app/qbs-setup-toolchains/probe.cpp
+++ b/src/app/qbs-setup-toolchains/probe.cpp
@@ -135,6 +135,7 @@ static void setupCompilerPathByLanguage(Profile &profile, const QStringList &too
const QString filePath = HostOsInfo::appendExecutableSuffix(toolchainPathPrefix
+ it.value().toString());
if (QFile::exists(filePath)) {
+ it.value() = filePath;
++it;
continue;
}