From c598241085cd191c3914a4b614f219e7a9a55bbf Mon Sep 17 00:00:00 2001 From: Joerg Bornemann Date: Wed, 30 Jul 2014 15:24:40 +0200 Subject: fix setup of cpp.compilerPathByLanguage The existence of the correct compiler binaries was checked, but the compilerPathByLanguage map was never updated. It always contained the initial strings "gcc", "g++" and so on. Change-Id: Ied9e164af0fd102b2a061665921f51f96ca9eb80 Reviewed-by: Christian Kandeler --- src/app/qbs-setup-toolchains/probe.cpp | 1 + 1 file changed, 1 insertion(+) 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; } -- cgit v1.2.3