QbsProjectManager: Prevent localized configuration names

The configuration name determines the build directory name, so make sure
we're not using translated strings there.

Fixes: QTCREATORBUG-21466
Change-Id: I9c1996f8fb532fbf26ec44db09ee157ca3c94844
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Christian Kandeler
2018-11-12 17:13:57 +01:00
parent 15b176e30c
commit 332b358db5

View File

@@ -410,6 +410,7 @@ BuildInfo *QbsBuildConfigurationFactory::createBuildInfo(const Kit *k,
info->typeName = tr("Build"); info->typeName = tr("Build");
info->kitId = k->id(); info->kitId = k->id();
info->buildType = type; info->buildType = type;
info->config.insert("configName", type == BuildConfiguration::Debug ? "Debug" : "Release");
return info; return info;
} }