app_version.h: Make IDE name configurable

Change-Id: I993f452c8d09cf89e9a2958fc8e36b7d2c17ee6f
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
Tobias Hunger
2017-08-29 11:48:48 +02:00
committed by Eike Ziller
parent ca959d8063
commit 4ef01c961e
72 changed files with 233 additions and 149 deletions

View File

@@ -25,6 +25,7 @@
#include "task.h"
#include <app/app_version.h>
#include <texteditor/textmark.h>
#include <utils/utilsicons.h>
#include <utils/qtcassert.h>
@@ -68,8 +69,9 @@ Task Task::compilerMissingTask()
{
return Task(Task::Error,
QCoreApplication::translate("ProjectExplorer::Task",
"Qt Creator needs a compiler set up to build. "
"Configure a compiler in the kit options."),
"%1 needs a compiler set up to build. "
"Configure a compiler in the kit options.")
.arg(Core::Constants::IDE_DISPLAY_NAME),
Utils::FileName(), -1,
Constants::TASK_CATEGORY_BUILDSYSTEM);
}
@@ -78,8 +80,9 @@ Task Task::buildConfigurationMissingTask()
{
return Task(Task::Error,
QCoreApplication::translate("ProjectExplorer::Task",
"Qt Creator needs a build configuration set up to build. "
"Configure a build configuration in the project settings."),
"%1 needs a build configuration set up to build. "
"Configure a build configuration in the project settings.")
.arg(Core::Constants::IDE_DISPLAY_NAME),
Utils::FileName(), -1,
Constants::TASK_CATEGORY_BUILDSYSTEM);
}