forked from qt-creator/qt-creator
Fixed national symbols in QBS shadow build directory
Change-Id: Ia76dce957465df49a00a831651e096e24107e864 Reviewed-by: Jake Petroules <jake.petroules@petroules.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
This commit is contained in:
@@ -419,13 +419,15 @@ QList<BuildInfo *> QbsBuildConfigurationFactory::availableSetups(const Kit *k, c
|
|||||||
BuildInfo *info = createBuildInfo(k, BuildConfiguration::Debug);
|
BuildInfo *info = createBuildInfo(k, BuildConfiguration::Debug);
|
||||||
//: The name of the debug build configuration created by default for a qbs project.
|
//: The name of the debug build configuration created by default for a qbs project.
|
||||||
info->displayName = tr("Debug");
|
info->displayName = tr("Debug");
|
||||||
info->buildDirectory = defaultBuildDirectory(projectPath, k, info->displayName);
|
//: Non-ASCII characters in directory suffix may cause build issues.
|
||||||
|
info->buildDirectory = defaultBuildDirectory(projectPath, k, tr("Debug", "Shadow build directory suffix"));
|
||||||
result << info;
|
result << info;
|
||||||
|
|
||||||
info = createBuildInfo(k, BuildConfiguration::Release);
|
info = createBuildInfo(k, BuildConfiguration::Release);
|
||||||
//: The name of the release build configuration created by default for a qbs project.
|
//: The name of the release build configuration created by default for a qbs project.
|
||||||
info->displayName = tr("Release");
|
info->displayName = tr("Release");
|
||||||
info->buildDirectory = defaultBuildDirectory(projectPath, k, info->displayName);
|
//: Non-ASCII characters in directory suffix may cause build issues.
|
||||||
|
info->buildDirectory = defaultBuildDirectory(projectPath, k, tr("Release", "Shadow build directory suffix"));
|
||||||
result << info;
|
result << info;
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
|
Reference in New Issue
Block a user