forked from qt-creator/qt-creator
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:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user