diff --git a/src/app/app_version.h.in b/src/app/app_version.h.in
index 97fd0735a4c..2c31ce0e16f 100644
--- a/src/app/app_version.h.in
+++ b/src/app/app_version.h.in
@@ -31,6 +31,10 @@ namespace Constants {
#define STRINGIFY_INTERNAL(x) #x
#define STRINGIFY(x) STRINGIFY_INTERNAL(x)
+const char IDE_DISPLAY_NAME[] = \"Qt Creator\";
+const char IDE_ID[] = \"qtcreator\";
+const char IDE_CASED_ID[] = \"QtCreator\";
+
#define IDE_VERSION $${QTCREATOR_VERSION}
#define IDE_VERSION_STR STRINGIFY(IDE_VERSION)
#define IDE_VERSION_DISPLAY_DEF $${QTCREATOR_DISPLAY_VERSION}
diff --git a/src/app/main.cpp b/src/app/main.cpp
index 4888b8db580..7235796e3fd 100644
--- a/src/app/main.cpp
+++ b/src/app/main.cpp
@@ -66,7 +66,6 @@ using namespace ExtensionSystem;
enum { OptionIndent = 4, DescriptionIndent = 34 };
-const char appNameC[] = "Qt Creator";
const char corePluginNameC[] = "Core";
const char fixedOptionsC[] =
" [OPTION]... [FILE]...\n"
@@ -110,7 +109,7 @@ static inline QString toHtml(const QString &t)
static void displayHelpText(const QString &t)
{
if (Utils::HostOsInfo::isWindowsHost())
- QMessageBox::information(0, QLatin1String(appNameC), toHtml(t));
+ QMessageBox::information(0, QLatin1String(Core::Constants::IDE_DISPLAY_NAME), toHtml(t));
else
qWarning("%s", qPrintable(t));
}
@@ -118,7 +117,7 @@ static void displayHelpText(const QString &t)
static void displayError(const QString &t)
{
if (Utils::HostOsInfo::isWindowsHost())
- QMessageBox::critical(0, QLatin1String(appNameC), t);
+ QMessageBox::critical(0, QLatin1String(Core::Constants::IDE_DISPLAY_NAME), t);
else
qCritical("%s", qPrintable(t));
}
@@ -127,7 +126,7 @@ static void printVersion(const PluginSpec *coreplugin)
{
QString version;
QTextStream str(&version);
- str << '\n' << appNameC << ' ' << coreplugin->version()<< " based on Qt " << qVersion() << "\n\n";
+ str << '\n' << Core::Constants::IDE_DISPLAY_NAME << ' ' << coreplugin->version()<< " based on Qt " << qVersion() << "\n\n";
PluginManager::formatPluginVersions(str);
str << '\n' << coreplugin->copyright() << '\n';
displayHelpText(version);
@@ -211,7 +210,9 @@ static inline QStringList getPluginPaths()
pluginPath += QLatin1Char('/')
+ QLatin1String(Core::Constants::IDE_SETTINGSVARIANT_STR)
+ QLatin1Char('/');
- pluginPath += QLatin1String(Utils::HostOsInfo::isMacHost() ? "Qt Creator" : "qtcreator");
+ pluginPath += QLatin1String(Utils::HostOsInfo::isMacHost() ?
+ Core::Constants::IDE_DISPLAY_NAME :
+ Core::Constants::IDE_ID);
pluginPath += QLatin1String("/plugins/");
pluginPath += QLatin1String(Core::Constants::IDE_VERSION_LONG);
rc.push_back(pluginPath);
@@ -228,7 +229,7 @@ static void setupInstallSettings()
QCoreApplication::applicationDirPath() + '/' + RELATIVE_DATA_PATH);
QSettings installSettings(QSettings::IniFormat, QSettings::UserScope,
QLatin1String(Core::Constants::IDE_SETTINGSVARIANT_STR),
- QLatin1String("QtCreator"));
+ QLatin1String(Core::Constants::IDE_CASED_ID));
if (installSettings.contains(kInstallSettingsKey)) {
QString installSettingsPath = installSettings.value(kInstallSettingsKey).toString();
if (QDir::isRelativePath(installSettingsPath))
@@ -241,7 +242,7 @@ static QSettings *createUserSettings()
{
return new QSettings(QSettings::IniFormat, QSettings::UserScope,
QLatin1String(Core::Constants::IDE_SETTINGSVARIANT_STR),
- QLatin1String("QtCreator"));
+ QLatin1String(Core::Constants::IDE_CASED_ID));
}
static inline QSettings *userSettings()
@@ -276,9 +277,9 @@ static inline QSettings *userSettings()
|| lowerFile.startsWith(QLatin1String("qtversion.xml"))
|| lowerFile.startsWith(QLatin1String("devices.xml"))
|| lowerFile.startsWith(QLatin1String("debuggers.xml"))
- || lowerFile.startsWith(QLatin1String("qtcreator.")))
+ || lowerFile.startsWith(QLatin1String(Core::Constants::IDE_ID) + "."))
QFile::copy(srcDir.absoluteFilePath(file), destDir.absoluteFilePath(file));
- if (file == QLatin1String("qtcreator"))
+ if (file == QLatin1String(Core::Constants::IDE_ID))
copyRecursively(srcDir.absoluteFilePath(file), destDir.absoluteFilePath(file));
}
@@ -300,7 +301,7 @@ int main(int argc, char **argv)
if (Utils::HostOsInfo::isLinuxHost())
QApplication::setAttribute(Qt::AA_DontUseNativeMenuBar);
- Utils::TemporaryDirectory::setMasterTemporaryDirectory(QDir::tempPath() + "/QtCreator-XXXXXX");
+ Utils::TemporaryDirectory::setMasterTemporaryDirectory(QDir::tempPath() + "/" + Core::Constants::IDE_CASED_ID + "-XXXXXX");
setHighDpiEnvironmentVariable();
@@ -316,7 +317,7 @@ int main(int argc, char **argv)
#endif
SharedTools::QtSingleApplication::setAttribute(Qt::AA_ShareOpenGLContexts);
- SharedTools::QtSingleApplication app((QLatin1String(appNameC)), argc, argv);
+ SharedTools::QtSingleApplication app((QLatin1String(Core::Constants::IDE_DISPLAY_NAME)), argc, argv);
loadFonts();
@@ -335,7 +336,8 @@ int main(int argc, char **argv)
QtSystemExceptionHandler systemExceptionHandler(libexecPath);
#else
// Display a backtrace once a serious signal is delivered (Linux only).
- CrashHandlerSetup setupCrashHandler(appNameC, CrashHandlerSetup::EnableRestart, libexecPath);
+ CrashHandlerSetup setupCrashHandler(Core::Constants::IDE_DISPLAY_NAME,
+ CrashHandlerSetup::EnableRestart, libexecPath);
#endif
app.setAttribute(Qt::AA_UseHighDpiPixmaps);
@@ -384,7 +386,7 @@ int main(int argc, char **argv)
QSettings *globalSettings = new QSettings(QSettings::IniFormat, QSettings::SystemScope,
QLatin1String(Core::Constants::IDE_SETTINGSVARIANT_STR),
- QLatin1String("QtCreator"));
+ QLatin1String(Core::Constants::IDE_CASED_ID));
PluginManager pluginManager;
PluginManager::setPluginIID(QLatin1String("org.qt-project.Qt.QtCreatorPlugin"));
PluginManager::setGlobalSettings(globalSettings);
@@ -401,7 +403,7 @@ int main(int argc, char **argv)
+ '/' + RELATIVE_DATA_PATH + "/translations";
foreach (QString locale, uiLanguages) {
locale = QLocale(locale).name();
- if (translator.load(QLatin1String("qtcreator_") + locale, creatorTrPath)) {
+ if (translator.load(QString::fromLatin1(Core::Constants::IDE_ID) + "_" + locale, creatorTrPath)) {
const QString &qtTrPath = QLibraryInfo::location(QLibraryInfo::TranslationsPath);
const QString &qtTrFile = QLatin1String("qt_") + locale;
// Binary installer puts Qt tr files into creatorTrPath
diff --git a/src/libs/extensionsystem/pluginerroroverview.ui b/src/libs/extensionsystem/pluginerroroverview.ui
index 768b2f65732..e87cb34c639 100644
--- a/src/libs/extensionsystem/pluginerroroverview.ui
+++ b/src/libs/extensionsystem/pluginerroroverview.ui
@@ -11,7 +11,7 @@
- Qt Creator - Plugin loader messages
+ Plugin loader messages
-
diff --git a/src/libs/qmljs/qmljsfindexportedcpptypes.cpp b/src/libs/qmljs/qmljsfindexportedcpptypes.cpp
index 7c45339d905..84ada6a0d63 100644
--- a/src/libs/qmljs/qmljsfindexportedcpptypes.cpp
+++ b/src/libs/qmljs/qmljsfindexportedcpptypes.cpp
@@ -252,7 +252,7 @@ protected:
_doc->fileName(),
line, column,
QmlJS::FindExportedCppTypes::tr(
- "The type will only be available in Qt Creator's QML editors when the type name is a string literal"));
+ "The type will only be available in the QML editors when the type name is a string literal"));
return false;
}
@@ -314,7 +314,7 @@ protected:
QmlJS::FindExportedCppTypes::tr(
"The module URI cannot be determined by static analysis. The type will be available\n"
"globally in the QML editor. You can add a \"// @uri My.Module.Uri\" annotation to let\n"
- "Qt Creator know about a likely URI."));
+ "the QML editor know about a likely URI."));
}
// version arguments must be integer literals
diff --git a/src/libs/utils/reloadpromptutils.cpp b/src/libs/utils/reloadpromptutils.cpp
index dc765ddd6c6..2270053be0f 100644
--- a/src/libs/utils/reloadpromptutils.cpp
+++ b/src/libs/utils/reloadpromptutils.cpp
@@ -44,11 +44,11 @@ QTCREATOR_UTILS_EXPORT ReloadPromptAnswer reloadPrompt(const FileName &fileName,
if (modified) {
msg = QCoreApplication::translate("Utils::reloadPrompt",
- "The unsaved file %1 has changed outside Qt Creator. "
+ "The unsaved file %1 has been changed on disk. "
"Do you want to reload it and discard your changes?");
} else {
msg = QCoreApplication::translate("Utils::reloadPrompt",
- "The file %1 has changed outside Qt Creator. Do you want to reload it?");
+ "The file %1 has been changed on disk. Do you want to reload it?");
}
msg = msg.arg(fileName.fileName());
return reloadPrompt(title, msg, fileName.toUserOutput(), enableDiffOption, parent);
@@ -106,12 +106,12 @@ QTCREATOR_UTILS_EXPORT FileDeletedPromptAnswer
QString msg;
if (triggerExternally) {
msg = QCoreApplication::translate("Utils::fileDeletedPrompt",
- "The file %1 has been removed outside Qt Creator. "
+ "The file %1 has been removed from disk. "
"Do you want to save it under a different name, or close "
"the editor?").arg(QDir::toNativeSeparators(fileName));
} else {
msg = QCoreApplication::translate("Utils::fileDeletedPrompt",
- "The file %1 was removed. "
+ "The file %1 has been removed from disk. "
"Do you want to save it under a different name, or close "
"the editor?").arg(QDir::toNativeSeparators(fileName));
}
diff --git a/src/plugins/android/androidpotentialkit.cpp b/src/plugins/android/androidpotentialkit.cpp
index c01c7d0ecc4..8264415a121 100644
--- a/src/plugins/android/androidpotentialkit.cpp
+++ b/src/plugins/android/androidpotentialkit.cpp
@@ -27,6 +27,8 @@
#include "androidconstants.h"
#include "androidconfigurations.h"
+#include
+
#include
#include
@@ -91,8 +93,9 @@ AndroidPotentialKitWidget::AndroidPotentialKitWidget(QWidget *parent)
auto layout = new QGridLayout(mainWidget);
layout->setMargin(0);
auto label = new QLabel;
- label->setText(tr("Qt Creator needs additional settings to enable Android support."
- " You can configure those settings in the Options dialog."));
+ label->setText(tr("%1 needs additional settings to enable Android support."
+ " You can configure those settings in the Options dialog.")
+ .arg(Core::Constants::IDE_DISPLAY_NAME));
label->setWordWrap(true);
layout->addWidget(label, 0, 0, 1, 2);
diff --git a/src/plugins/autotoolsprojectmanager/autotoolsopenprojectwizard.cpp b/src/plugins/autotoolsprojectmanager/autotoolsopenprojectwizard.cpp
index 82bc2e01627..37a8d6fd927 100644
--- a/src/plugins/autotoolsprojectmanager/autotoolsopenprojectwizard.cpp
+++ b/src/plugins/autotoolsprojectmanager/autotoolsopenprojectwizard.cpp
@@ -81,7 +81,7 @@ BuildPathPage::BuildPathPage(AutotoolsOpenProjectWizard *w) : QWizardPage(w),
QLabel *label = new QLabel(this);
label->setWordWrap(true);
label->setText(tr("Please enter the directory in which you want to build your project. "
- "Qt Creator recommends to not use the source directory for building. "
+ "It is not recommended to use the source directory for building. "
"This ensures that the source directory remains clean and enables multiple builds "
"with different settings."));
fl->addWidget(label);
diff --git a/src/plugins/cmakeprojectmanager/cmakebuildstep.cpp b/src/plugins/cmakeprojectmanager/cmakebuildstep.cpp
index 9a456cb8ce6..d20e557d5e2 100644
--- a/src/plugins/cmakeprojectmanager/cmakebuildstep.cpp
+++ b/src/plugins/cmakeprojectmanager/cmakebuildstep.cpp
@@ -194,8 +194,8 @@ bool CMakeBuildStep::init(QList &earlierSteps)
CMakeTool *tool = CMakeKitInformation::cmakeTool(target()->kit());
if (!tool || !tool->isValid()) {
emit addTask(Task(Task::Error,
- tr("Qt Creator needs a CMake Tool set up to build. "
- "Configure a CMake Tool in the kit options."),
+ tr("A CMake tool must be set up for building. "
+ "Configure a CMake tool in the kit options."),
Utils::FileName(), -1,
ProjectExplorer::Constants::TASK_CATEGORY_BUILDSYSTEM));
canInit = false;
diff --git a/src/plugins/cmakeprojectmanager/cmakekitinformation.cpp b/src/plugins/cmakeprojectmanager/cmakekitinformation.cpp
index 9e5962d3aef..4509afe5840 100644
--- a/src/plugins/cmakeprojectmanager/cmakekitinformation.cpp
+++ b/src/plugins/cmakeprojectmanager/cmakekitinformation.cpp
@@ -29,6 +29,7 @@
#include "cmaketoolmanager.h"
#include "cmaketool.h"
+#include
#include
#include
#include
@@ -383,7 +384,8 @@ QList CMakeGeneratorKitInformation::validate(const Kit *k) const
if (!tool->hasServerMode() && info.extraGenerator != "CodeBlocks") {
result << Task(Task::Warning, tr("The selected CMake binary has no server-mode and the CMake "
"generator does not generate a CodeBlocks file. "
- "Qt Creator will not be able to parse CMake projects."),
+ "%1 will not be able to parse CMake projects.")
+ .arg(Core::Constants::IDE_DISPLAY_NAME),
Utils::FileName(), -1, Core::Id(ProjectExplorer::Constants::TASK_CATEGORY_BUILDSYSTEM));
}
}
diff --git a/src/plugins/cmakeprojectmanager/servermodereader.cpp b/src/plugins/cmakeprojectmanager/servermodereader.cpp
index 4d3a9f9670b..420456ccf97 100644
--- a/src/plugins/cmakeprojectmanager/servermodereader.cpp
+++ b/src/plugins/cmakeprojectmanager/servermodereader.cpp
@@ -157,7 +157,7 @@ void ServerModeReader::resetData()
void ServerModeReader::parse(bool force)
{
emit configurationStarted();
- Core::MessageManager::write(tr("Starting to parse CMake project for Qt Creator."));
+ Core::MessageManager::write(tr("Starting to parse CMake project."));
QTC_ASSERT(m_cmakeServer, return);
QVariantMap extra;
diff --git a/src/plugins/coreplugin/actionmanager/commandsfile.cpp b/src/plugins/coreplugin/actionmanager/commandsfile.cpp
index 5eba33f8bd0..d6bbd7f2cbb 100644
--- a/src/plugins/coreplugin/actionmanager/commandsfile.cpp
+++ b/src/plugins/coreplugin/actionmanager/commandsfile.cpp
@@ -26,11 +26,10 @@
#include "commandsfile.h"
#include "command_p.h"
#include
+#include
#include
-
#include
-
#include
#include
@@ -137,8 +136,8 @@ bool CommandsFile::exportCommands(const QList &items)
w.setAutoFormattingIndent(1); // Historical, used to be QDom.
w.writeStartDocument();
w.writeDTD(QLatin1String(""));
- w.writeComment(QString::fromLatin1(" Written by Qt Creator %1, %2. ").
- arg(QLatin1String(Constants::IDE_VERSION_LONG),
+ w.writeComment(QString::fromLatin1(" Written by %1, %2. ").
+ arg(ICore::versionString(),
QDateTime::currentDateTime().toString(Qt::ISODate)));
w.writeStartElement(ctx.mappingElement);
foreach (const ShortcutItem *item, items) {
diff --git a/src/plugins/coreplugin/coreplugin.cpp b/src/plugins/coreplugin/coreplugin.cpp
index 0a7e29c536c..e21237b5a9f 100644
--- a/src/plugins/coreplugin/coreplugin.cpp
+++ b/src/plugins/coreplugin/coreplugin.cpp
@@ -44,6 +44,7 @@
#include
#include
+#include
#include
#include
#include
@@ -186,15 +187,22 @@ bool CorePlugin::initialize(const QStringList &arguments, QString *errorMessage)
[]() { return DocumentManager::projectsDirectory(); });
expander->registerVariable("Config:LastFileDialogDirectory", tr("The directory last visited in a file dialog."),
[]() { return DocumentManager::fileDialogLastVisitedDirectory(); });
- expander->registerVariable("HostOs:isWindows", tr("Is Qt Creator running on Windows?"),
+ expander->registerVariable("HostOs:isWindows",
+ tr("Is %1 running on Windows?").arg(Constants::IDE_DISPLAY_NAME),
[]() { return QVariant(Utils::HostOsInfo::isWindowsHost()).toString(); });
- expander->registerVariable("HostOs:isOSX", tr("Is Qt Creator running on OS X?"),
+ expander->registerVariable("HostOs:isOSX",
+ tr("Is %1 running on OS X?").arg(Constants::IDE_DISPLAY_NAME),
[]() { return QVariant(Utils::HostOsInfo::isMacHost()).toString(); });
- expander->registerVariable("HostOs:isLinux", tr("Is Qt Creator running on Linux?"),
+ expander->registerVariable("HostOs:isLinux",
+ tr("Is %1 running on Linux?").arg(Constants::IDE_DISPLAY_NAME),
[]() { return QVariant(Utils::HostOsInfo::isLinuxHost()).toString(); });
- expander->registerVariable("HostOs:isUnix", tr("Is Qt Creator running on any unix-based platform?"),
+ expander->registerVariable("HostOs:isUnix",
+ tr("Is %1 running on any unix-based platform?")
+ .arg(Constants::IDE_DISPLAY_NAME),
[]() { return QVariant(Utils::HostOsInfo::isAnyUnixHost()).toString(); });
- expander->registerVariable("IDE:ResourcePath", tr("The directory where Qt Creator finds its pre-installed resources."),
+ expander->registerVariable("IDE:ResourcePath",
+ tr("The directory where %1 finds its pre-installed resources.")
+ .arg(Constants::IDE_DISPLAY_NAME),
[]() { return ICore::resourcePath(); });
expander->registerPrefix("CurrentDate:", tr("The current date (QDate formatstring)."),
[](const QString &fmt) { return QDate::currentDate().toString(fmt); });
diff --git a/src/plugins/coreplugin/editormanager/editormanager.cpp b/src/plugins/coreplugin/editormanager/editormanager.cpp
index 9b2bd61748e..8f661064eab 100644
--- a/src/plugins/coreplugin/editormanager/editormanager.cpp
+++ b/src/plugins/coreplugin/editormanager/editormanager.cpp
@@ -34,6 +34,8 @@
#include "documentmodel_p.h"
#include "ieditor.h"
+#include
+
#include
#include
#include
@@ -1789,7 +1791,7 @@ void EditorManagerPrivate::updateWindowTitleForDocument(IDocument *document, QWi
if (!windowTitle.isEmpty())
windowTitle.append(dashSep);
- windowTitle.append(tr("Qt Creator"));
+ windowTitle.append(Core::Constants::IDE_DISPLAY_NAME);
window->window()->setWindowTitle(windowTitle);
window->window()->setWindowFilePath(filePath);
diff --git a/src/plugins/coreplugin/externaltool.cpp b/src/plugins/coreplugin/externaltool.cpp
index 9903d58125b..58abcae5b16 100644
--- a/src/plugins/coreplugin/externaltool.cpp
+++ b/src/plugins/coreplugin/externaltool.cpp
@@ -26,6 +26,7 @@
#include "externaltool.h"
#include "externaltoolmanager.h"
+#include "icore.h"
#include "idocument.h"
#include "messagemanager.h"
#include "documentmanager.h"
@@ -480,8 +481,8 @@ bool ExternalTool::save(QString *errorMessage) const
QXmlStreamWriter out(saver.file());
out.setAutoFormatting(true);
out.writeStartDocument(QLatin1String("1.0"));
- out.writeComment(QString::fromLatin1("Written on %1 by Qt Creator %2")
- .arg(QDateTime::currentDateTime().toString(), QLatin1String(Constants::IDE_VERSION_LONG)));
+ out.writeComment(QString::fromLatin1("Written on %1 by %2")
+ .arg(QDateTime::currentDateTime().toString(), ICore::versionString()));
out.writeStartElement(QLatin1String(kExternalTool));
out.writeAttribute(QLatin1String(kId), m_id);
out.writeTextElement(QLatin1String(kDescription), m_description);
diff --git a/src/plugins/coreplugin/generalsettings.cpp b/src/plugins/coreplugin/generalsettings.cpp
index fcf8d07f96a..2a0036616e6 100644
--- a/src/plugins/coreplugin/generalsettings.cpp
+++ b/src/plugins/coreplugin/generalsettings.cpp
@@ -164,7 +164,7 @@ void GeneralSettings::setLanguage(const QString &locale)
QSettings *settings = ICore::settings();
if (settings->value(QLatin1String("General/OverrideLanguage")).toString() != locale)
QMessageBox::information(ICore::mainWindow(), tr("Restart Required"),
- tr("The language change will take effect after a restart of Qt Creator."));
+ tr("The language change will take effect after restart."));
if (locale.isEmpty())
settings->remove(QLatin1String("General/OverrideLanguage"));
diff --git a/src/plugins/coreplugin/icore.cpp b/src/plugins/coreplugin/icore.cpp
index e5a1bc8a5f2..ab2a7f97703 100644
--- a/src/plugins/coreplugin/icore.cpp
+++ b/src/plugins/coreplugin/icore.cpp
@@ -461,8 +461,9 @@ QString ICore::versionString()
QString ideVersionDescription;
if (QLatin1String(Constants::IDE_VERSION_LONG) != QLatin1String(Constants::IDE_VERSION_DISPLAY))
ideVersionDescription = tr(" (%1)").arg(QLatin1String(Constants::IDE_VERSION_LONG));
- return tr("Qt Creator %1%2").arg(QLatin1String(Constants::IDE_VERSION_DISPLAY),
- ideVersionDescription);
+ return tr("%1 %2%3").arg(QLatin1String(Constants::IDE_DISPLAY_NAME),
+ QLatin1String(Constants::IDE_VERSION_DISPLAY),
+ ideVersionDescription);
}
QString ICore::buildCompatibilityString()
diff --git a/src/plugins/coreplugin/mainwindow.cpp b/src/plugins/coreplugin/mainwindow.cpp
index 9010fd8da3c..5b65b2b97d1 100644
--- a/src/plugins/coreplugin/mainwindow.cpp
+++ b/src/plugins/coreplugin/mainwindow.cpp
@@ -109,7 +109,7 @@ MainWindow::MainWindow() :
m_coreImpl(new ICore(this)),
m_lowPrioAdditionalContexts(Constants::C_GLOBAL),
m_settingsDatabase(new SettingsDatabase(QFileInfo(PluginManager::settings()->fileName()).path(),
- QLatin1String("QtCreator"),
+ QLatin1String(Constants::IDE_CASED_ID),
this)),
m_progressManager(new ProgressManagerPrivate),
m_jsExpander(new JsExpander),
@@ -130,10 +130,10 @@ MainWindow::MainWindow() :
HistoryCompleter::setSettings(PluginManager::settings());
- setWindowTitle(tr("Qt Creator"));
+ setWindowTitle(Constants::IDE_DISPLAY_NAME);
if (HostOsInfo::isLinuxHost())
QApplication::setWindowIcon(Icons::QTCREATORLOGO_BIG.icon());
- QCoreApplication::setApplicationName(QLatin1String("QtCreator"));
+ QCoreApplication::setApplicationName(QLatin1String(Constants::IDE_CASED_ID));
QCoreApplication::setApplicationVersion(QLatin1String(Constants::IDE_VERSION_LONG));
QCoreApplication::setOrganizationName(QLatin1String(Constants::IDE_SETTINGSVARIANT_STR));
QString baseName = QApplication::style()->objectName();
@@ -741,9 +741,9 @@ void MainWindow::registerDefaultActions()
// About IDE Action
icon = QIcon::fromTheme(QLatin1String("help-about"));
if (HostOsInfo::isMacHost())
- tmpaction = new QAction(icon, tr("About &Qt Creator"), this); // it's convention not to add dots to the about menu
+ tmpaction = new QAction(icon, tr("About &%1").arg(Constants::IDE_DISPLAY_NAME), this); // it's convention not to add dots to the about menu
else
- tmpaction = new QAction(icon, tr("About &Qt Creator..."), this);
+ tmpaction = new QAction(icon, tr("About &%1...").arg(Constants::IDE_DISPLAY_NAME), this);
tmpaction->setMenuRole(QAction::AboutRole);
cmd = ActionManager::registerAction(tmpaction, Constants::ABOUT_QTCREATOR);
mhelp->addAction(cmd, Constants::G_HELP_ABOUT);
diff --git a/src/plugins/coreplugin/mimetypemagicdialog.ui b/src/plugins/coreplugin/mimetypemagicdialog.ui
index f638354881b..6dfcb1caccf 100644
--- a/src/plugins/coreplugin/mimetypemagicdialog.ui
+++ b/src/plugins/coreplugin/mimetypemagicdialog.ui
@@ -136,7 +136,7 @@
false
- <i>Note: Wide range values might impact Qt Creator's performance when opening files.</i>
+ <html><head/><body><p><span style=" font-style:italic;">Note: Wide range values might impact performance when opening files.</span></p></body></html>
Qt::RichText
diff --git a/src/plugins/coreplugin/mimetypesettings.cpp b/src/plugins/coreplugin/mimetypesettings.cpp
index 8573ae5f870..44b34131073 100644
--- a/src/plugins/coreplugin/mimetypesettings.cpp
+++ b/src/plugins/coreplugin/mimetypesettings.cpp
@@ -31,6 +31,7 @@
#include
#include
#include
+
#include
#include
#include
@@ -400,7 +401,7 @@ void MimeTypeSettingsPrivate::resetMimeTypes()
m_userModifiedMimeTypes.clear(); // settings file will be removed with next settings-save
QMessageBox::information(ICore::dialogParent(),
tr("Reset MIME Types"),
- tr("Changes will take effect after Qt Creator restart."));
+ tr("Changes will take effect after restart."));
}
void MimeTypeSettingsPrivate::setFilterPattern(const QString &pattern)
diff --git a/src/plugins/coreplugin/systemsettings.cpp b/src/plugins/coreplugin/systemsettings.cpp
index 74d097e7282..69f21929f8a 100644
--- a/src/plugins/coreplugin/systemsettings.cpp
+++ b/src/plugins/coreplugin/systemsettings.cpp
@@ -31,6 +31,7 @@
#include "patchtool.h"
#include "vcsmanager.h"
+#include
#include
#include
#include
@@ -97,6 +98,11 @@ QWidget *SystemSettings::widget()
m_page->patchChooser->setHistoryCompleter(QLatin1String("General.PatchCommand.History"));
m_page->patchChooser->setPath(PatchTool::patchCommand());
m_page->autoSaveCheckBox->setChecked(EditorManagerPrivate::autoSaveEnabled());
+ m_page->autoSaveCheckBox->setToolTip(tr("Automatically creates temporary copies of "
+ "modified files. If %1 is restarted after "
+ "a crash or power failure, it asks whether to "
+ "recover the auto-saved content.")
+ .arg(Constants::IDE_DISPLAY_NAME));
m_page->autoSaveInterval->setValue(EditorManagerPrivate::autoSaveInterval());
m_page->autoSuspendCheckBox->setChecked(EditorManagerPrivate::autoSuspendEnabled());
m_page->autoSuspendMinDocumentCount->setValue(EditorManagerPrivate::autoSuspendMinDocumentCount());
diff --git a/src/plugins/coreplugin/systemsettings.ui b/src/plugins/coreplugin/systemsettings.ui
index b2928f9d47c..674524e0479 100644
--- a/src/plugins/coreplugin/systemsettings.ui
+++ b/src/plugins/coreplugin/systemsettings.ui
@@ -86,9 +86,6 @@
-
-
- Automatically creates temporary copies of modified files. If Qt Creator is restarted after a crash or power failure, it asks whether to recover the auto-saved content.
-
Auto-save modified files
@@ -309,7 +306,7 @@
-
- Minimum number of open documents that should be kept in memory. Increasing this number will lead to greater resource usage of Qt Creator when not manually closing documents.
+ Minimum number of open documents that should be kept in memory. Increasing this number will lead to greater resource usage when not manually closing documents.
Files to keep open:
diff --git a/src/plugins/coreplugin/themechooser.cpp b/src/plugins/coreplugin/themechooser.cpp
index ff62406dba0..18f0a4040b5 100644
--- a/src/plugins/coreplugin/themechooser.cpp
+++ b/src/plugins/coreplugin/themechooser.cpp
@@ -179,7 +179,7 @@ void ThemeChooser::apply()
const QString currentThemeId = ThemeEntry::themeSetting().toString();
if (currentThemeId != themeId) {
QMessageBox::information(ICore::mainWindow(), tr("Restart Required"),
- tr("The theme change will take effect after a restart of Qt Creator."));
+ tr("The theme change will take effect after restart."));
// save filename of selected theme in global config
settings->setValue(QLatin1String(Constants::SETTINGS_THEME), themeId);
diff --git a/src/plugins/coreplugin/versiondialog.cpp b/src/plugins/coreplugin/versiondialog.cpp
index ded2e13dae3..06962971ea7 100644
--- a/src/plugins/coreplugin/versiondialog.cpp
+++ b/src/plugins/coreplugin/versiondialog.cpp
@@ -51,7 +51,7 @@ VersionDialog::VersionDialog(QWidget *parent)
if (Utils::HostOsInfo::isLinuxHost())
setWindowIcon(Icons::QTCREATORLOGO_BIG.icon());
- setWindowTitle(tr("About Qt Creator"));
+ setWindowTitle(tr("About %1").arg(Core::Constants::IDE_DISPLAY_NAME));
setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
QGridLayout *layout = new QGridLayout(this);
layout->setSizeConstraint(QLayout::SetFixedSize);
diff --git a/src/plugins/coreplugin/windowsupport.cpp b/src/plugins/coreplugin/windowsupport.cpp
index 4af9d7343ba..7d9c3ef6ad9 100644
--- a/src/plugins/coreplugin/windowsupport.cpp
+++ b/src/plugins/coreplugin/windowsupport.cpp
@@ -31,6 +31,7 @@
#include "coreconstants.h"
#include "icore.h"
+#include
#include
#include
@@ -191,7 +192,7 @@ void WindowList::updateTitle(QWidget *window)
QTC_ASSERT(index >= 0, return);
QTC_ASSERT(index < m_windowActions.size(), return);
QString title = window->windowTitle();
- if (title.endsWith(QStringLiteral("- Qt Creator")))
+ if (title.endsWith(QStringLiteral("- ") + Constants::IDE_DISPLAY_NAME))
title.chop(12);
m_windowActions.at(index)->setText(title.trimmed());
}
diff --git a/src/plugins/cpptools/cppmodelmanagersupportinternal.cpp b/src/plugins/cpptools/cppmodelmanagersupportinternal.cpp
index b8754653443..e2135a76eb3 100644
--- a/src/plugins/cpptools/cppmodelmanagersupportinternal.cpp
+++ b/src/plugins/cpptools/cppmodelmanagersupportinternal.cpp
@@ -27,6 +27,8 @@
#include "cppmodelmanagersupportinternal.h"
#include "builtineditordocumentprocessor.h"
+#include
+
#include
using namespace CppTools;
@@ -40,7 +42,7 @@ QString ModelManagerSupportProviderInternal::id() const
QString ModelManagerSupportProviderInternal::displayName() const
{
return QCoreApplication::translate("ModelManagerSupportInternal::displayName",
- "Qt Creator Built-in");
+ "%1 Built-in").arg(Core::Constants::IDE_DISPLAY_NAME);
}
ModelManagerSupport::Ptr ModelManagerSupportProviderInternal::createModelManagerSupport()
diff --git a/src/plugins/debugger/cdb/cdboptionspagewidget.ui b/src/plugins/debugger/cdb/cdboptionspagewidget.ui
index 4b80ff1d26c..38f434688c5 100644
--- a/src/plugins/debugger/cdb/cdboptionspagewidget.ui
+++ b/src/plugins/debugger/cdb/cdboptionspagewidget.ui
@@ -44,7 +44,7 @@
-
- <html><head/><body><p>Uses CDB's native console instead of Qt Creator's console for console applications. The native console does not prompt on application exit. It is suitable for diagnosing cases in which the application does not start up properly in Qt Creator's console and the subsequent attach fails.</p></body></html>
+ <html><head/><body><p>Uses CDB's native console for console applications. This overrides the setting in Environment > System. The native console does not prompt on application exit. It is suitable for diagnosing cases in which the application does not start up properly in the configured console and the subsequent attach fails.</p></body></html>
Use CDB &console
diff --git a/src/plugins/debugger/commonoptionspage.cpp b/src/plugins/debugger/commonoptionspage.cpp
index 2f510a4184f..94412301fc9 100644
--- a/src/plugins/debugger/commonoptionspage.cpp
+++ b/src/plugins/debugger/commonoptionspage.cpp
@@ -32,6 +32,7 @@
#include
#include
+#include
#include
#include
#include
@@ -129,7 +130,9 @@ QWidget *CommonOptionsPage::widget()
checkBoxSwitchModeOnExit->setText(tr("Switch to previous mode on debugger exit"));
auto checkBoxBringToForegroundOnInterrrupt = new QCheckBox(behaviorBox);
- checkBoxBringToForegroundOnInterrrupt->setText(tr("Bring Qt Creator to foreground when application interrupts"));
+ checkBoxBringToForegroundOnInterrrupt->setText(
+ tr("Bring %1 to foreground when application interrupts")
+ .arg(Core::Constants::IDE_DISPLAY_NAME));
auto checkBoxShowQmlObjectTree = new QCheckBox(behaviorBox);
checkBoxShowQmlObjectTree->setToolTip(tr("Shows QML object tree in Locals and Expressions when connected and not stepping."));
@@ -140,8 +143,12 @@ QWidget *CommonOptionsPage::widget()
checkBoxBreakpointsFullPath->setText(tr("Set breakpoints using a full absolute path"));
auto checkBoxRegisterForPostMortem = new QCheckBox(behaviorBox);
- checkBoxRegisterForPostMortem->setToolTip(tr("Registers Qt Creator for debugging crashed applications."));
- checkBoxRegisterForPostMortem->setText(tr("Use Qt Creator for post-mortem debugging"));
+ checkBoxRegisterForPostMortem->setToolTip(
+ tr("Registers %1 for debugging crashed applications.")
+ .arg(Core::Constants::IDE_DISPLAY_NAME));
+ checkBoxRegisterForPostMortem->setText(
+ tr("Use %1 for post-mortem debugging")
+ .arg(Core::Constants::IDE_DISPLAY_NAME));
auto checkBoxWarnOnReleaseBuilds = new QCheckBox(behaviorBox);
checkBoxWarnOnReleaseBuilds->setText(tr("Warn when debugging \"Release\" builds"));
@@ -314,7 +321,7 @@ QWidget *LocalsAndExpressionsOptionsPage::widget()
auto groupBoxCustomDumperCommands = new QGroupBox(debuggingHelperGroupBox);
groupBoxCustomDumperCommands->setTitle(tr("Debugging Helper Customization"));
groupBoxCustomDumperCommands->setToolTip(tr(
- "
Python commands entered here will be executed after Qt Creator's "
+ "
Python commands entered here will be executed after built-in "
"debugging helpers have been loaded and fully initialized. You can load additional "
"debugging helpers or modify existing ones here.
"));
diff --git a/src/plugins/debugger/debuggerdialogs.cpp b/src/plugins/debugger/debuggerdialogs.cpp
index f9017a7f41d..311b1fcf5aa 100644
--- a/src/plugins/debugger/debuggerdialogs.cpp
+++ b/src/plugins/debugger/debuggerdialogs.cpp
@@ -34,6 +34,8 @@
#include
#include
#include
+
+#include
#include
#include
#include
@@ -264,7 +266,7 @@ StartApplicationDialog::StartApplicationDialog(QWidget *parent)
d->serverStartScriptPathChooser->setPromptDialogTitle(tr("Select Server Start Script"));
d->serverStartScriptPathChooser->setToolTip(tr(
"This option can be used to point to a script that will be used "
- "to start a debug server. If the field is empty, Qt Creator's "
+ "to start a debug server. If the field is empty, "
"default methods to set up debug servers will be used."));
d->serverStartScriptLabel = new QLabel(tr("&Server start script:"), this);
d->serverStartScriptLabel->setBuddy(d->serverStartScriptPathChooser);
@@ -558,15 +560,16 @@ static QString cdbRemoteHelp()
const QString ext32 = QDir::toNativeSeparators(CdbEngine::extensionLibraryName(false));
const QString ext64 = QDir::toNativeSeparators(CdbEngine::extensionLibraryName(true));
return StartRemoteCdbDialog::tr(
- "The remote CDB needs to load the matching Qt Creator CDB extension "
- "(%1 or %2, respectively).
Copy it onto the remote machine and set the "
- "environment variable %3 to point to its folder.
"
- "Launch the remote CDB as %4 <executable> "
+ "
The remote CDB needs to load the matching %1 CDB extension "
+ "(%2 or %3, respectively).
Copy it onto the remote machine and set the "
+ "environment variable %4 to point to its folder.
"
+ "Launch the remote CDB as %5 <executable> "
"to use TCP/IP as communication protocol.
Enter the connection parameters as:
"
- "%5
").
- arg(ext32, ext64, QLatin1String("_NT_DEBUGGER_EXTENSION_PATH"),
- QLatin1String("cdb.exe -server tcp:port=1234"),
- QLatin1String(cdbConnectionSyntax));
+ "%6
")
+ .arg(Core::Constants::IDE_DISPLAY_NAME,
+ ext32, ext64, QLatin1String("_NT_DEBUGGER_EXTENSION_PATH"),
+ QLatin1String("cdb.exe -server tcp:port=1234"),
+ QLatin1String(cdbConnectionSyntax));
}
StartRemoteCdbDialog::StartRemoteCdbDialog(QWidget *parent) :
diff --git a/src/plugins/debugger/debuggerplugin.cpp b/src/plugins/debugger/debuggerplugin.cpp
index 091acae9340..80cad0e3011 100644
--- a/src/plugins/debugger/debuggerplugin.cpp
+++ b/src/plugins/debugger/debuggerplugin.cpp
@@ -67,6 +67,8 @@
#include "analyzer/analyzerconstants.h"
#include "analyzer/analyzermanager.h"
+#include
+
#include
#include
#include
@@ -2089,9 +2091,11 @@ RunControl *DebuggerPluginPrivate::attachToRunningProcess(Kit *kit,
const Abi tcAbi = ToolChainKitInformation::targetAbi(kit);
const bool isWindows = (tcAbi.os() == Abi::WindowsOS);
if (isWindows && isWinProcessBeingDebugged(process.pid)) {
- AsynchronousMessageBox::warning(tr("Process Already Under Debugger Control"),
- tr("The process %1 is already under the control of a debugger.\n"
- "Qt Creator cannot attach to it.").arg(process.pid));
+ AsynchronousMessageBox::warning(
+ tr("Process Already Under Debugger Control"),
+ tr("The process %1 is already under the control of a debugger.\n"
+ "%2 cannot attach to it.").arg(process.pid)
+ .arg(Core::Constants::IDE_DISPLAY_NAME));
return 0;
}
diff --git a/src/plugins/debugger/debuggersourcepathmappingwidget.cpp b/src/plugins/debugger/debuggersourcepathmappingwidget.cpp
index 313cecefd79..f1a5e17d350 100644
--- a/src/plugins/debugger/debuggersourcepathmappingwidget.cpp
+++ b/src/plugins/debugger/debuggersourcepathmappingwidget.cpp
@@ -215,7 +215,7 @@ DebuggerSourcePathMappingWidget::DebuggerSourcePathMappingWidget(QWidget *parent
"at which the modules where built, for example, while "
"doing remote debugging.
"
"If source is specified as a regular expression by starting it with an "
- "open parenthesis, Qt Creator matches the paths in the ELF with the "
+ "open parenthesis, the paths in the ELF are matched with the "
"regular expression to automatically determine the source path.
"
"Example: (/home/.*/Project)/KnownSubDir -> D:\\Project will "
"substitute ELF built by any user to your local project directory.
"));
diff --git a/src/plugins/debugger/gdb/gdbengine.cpp b/src/plugins/debugger/gdb/gdbengine.cpp
index 53c00cbfd4d..91a5fea8c5d 100644
--- a/src/plugins/debugger/gdb/gdbengine.cpp
+++ b/src/plugins/debugger/gdb/gdbengine.cpp
@@ -66,6 +66,7 @@
#include
#include
+#include
#include
#include
#include
@@ -1636,8 +1637,9 @@ void GdbEngine::handlePythonSetup(const DebuggerResponse &response)
QString out = ""
+ tr("The selected build of GDB supports Python scripting, "
"but the used version %1.%2 is not sufficient for "
- "Qt Creator. Supported versions are Python 2.7 and 3.x.")
- .arg(pythonMajor).arg(pythonMinor);
+ "%3. Supported versions are Python 2.7 and 3.x.")
+ .arg(pythonMajor).arg(pythonMinor)
+ .arg(Core::Constants::IDE_DISPLAY_NAME);
showStatusMessage(out);
AsynchronousMessageBox::critical(tr("Execution Error"), out);
}
@@ -1649,7 +1651,8 @@ void GdbEngine::handlePythonSetup(const DebuggerResponse &response)
QString msg = response.data["msg"].data();
if (msg.contains("Python scripting is not supported in this copy of GDB.")) {
QString out1 = "The selected build of GDB does not support Python scripting.";
- QString out2 = "It cannot be used in Qt Creator.";
+ QString out2 = QStringLiteral("It cannot be used in %1.")
+ .arg(Core::Constants::IDE_DISPLAY_NAME);
showStatusMessage(out1 + ' ' + out2);
AsynchronousMessageBox::critical(tr("Execution Error"), out1 + "
" + out2);
}
diff --git a/src/plugins/debugger/gdb/gdboptionspage.cpp b/src/plugins/debugger/gdb/gdboptionspage.cpp
index cecf8ccaeae..822e7d8b8cf 100644
--- a/src/plugins/debugger/gdb/gdboptionspage.cpp
+++ b/src/plugins/debugger/gdb/gdboptionspage.cpp
@@ -86,11 +86,11 @@ GdbOptionsPageWidget::GdbOptionsPageWidget()
auto labelGdbWatchdogTimeout = new QLabel(groupBoxGeneral);
labelGdbWatchdogTimeout->setText(GdbOptionsPage::tr("GDB timeout:"));
labelGdbWatchdogTimeout->setToolTip(GdbOptionsPage::tr(
- "The number of seconds Qt Creator will wait before it terminates\n"
- "a non-responsive GDB process. The default value of 20 seconds should\n"
- "be sufficient for most applications, but there are situations when\n"
- "loading big libraries or listing source files takes much longer than\n"
- "that on slow machines. In this case, the value should be increased."));
+ "The number of seconds before a non-responsive GDB process is terminated.\n"
+ "The default value of 20 seconds should be sufficient for most\n"
+ "applications, but there are situations when loading big libraries or\n"
+ "listing source files takes much longer than that on slow machines.\n"
+ "In this case, the value should be increased."));
auto spinBoxGdbWatchdogTimeout = new QSpinBox(groupBoxGeneral);
spinBoxGdbWatchdogTimeout->setToolTip(labelGdbWatchdogTimeout->toolTip());
diff --git a/src/plugins/debugger/logwindow.cpp b/src/plugins/debugger/logwindow.cpp
index 22c2e73ed9e..98dc0f91437 100644
--- a/src/plugins/debugger/logwindow.cpp
+++ b/src/plugins/debugger/logwindow.cpp
@@ -43,6 +43,9 @@
#include
#include
+
+#include
+
#include
#include
#include
@@ -432,12 +435,13 @@ LogWindow::LogWindow(QWidget *parent)
showOutput(LogWarning,
tr("Note: This log contains possibly confidential information about your machine, "
"environment variables, in-memory data of the processes you are debugging, and more. "
- "It is never transferred over the internet by Qt Creator, and only stored "
+ "It is never transferred over the internet by %1, and only stored "
"to disk if you manually use the respective option from the context menu, or through "
- "mechanisms that are not under Qt Creator's control, for instance in swap files.\n"
+ "mechanisms that are not under the control of %1, for instance in swap files.\n"
"You may be asked to share the contents of this log when reporting bugs related "
"to debugger operation. In this case, make sure your submission does not "
- "contain data you do not want to or you are not allowed to share.\n\n"));
+ "contain data you do not want to or you are not allowed to share.\n\n")
+ .arg(Core::Constants::IDE_DISPLAY_NAME));
}
void LogWindow::executeLine()
diff --git a/src/plugins/debugger/qml/qmlengine.cpp b/src/plugins/debugger/qml/qmlengine.cpp
index e6d5d3cc035..9ff977fc62e 100644
--- a/src/plugins/debugger/qml/qmlengine.cpp
+++ b/src/plugins/debugger/qml/qmlengine.cpp
@@ -57,6 +57,7 @@
#include
#include
+#include
#include
#include
#include
@@ -422,7 +423,7 @@ void QmlEngine::connectionStartupFailed()
QMessageBox *infoBox = new QMessageBox(ICore::mainWindow());
infoBox->setIcon(QMessageBox::Critical);
- infoBox->setWindowTitle(tr("Qt Creator"));
+ infoBox->setWindowTitle(Core::Constants::IDE_DISPLAY_NAME);
infoBox->setText(tr("Could not connect to the in-process QML debugger."
"\nDo you want to retry?"));
infoBox->setStandardButtons(QMessageBox::Retry | QMessageBox::Cancel |
@@ -443,7 +444,7 @@ void QmlEngine::appStartupFailed(const QString &errorMessage)
if (isMasterEngine()) {
QMessageBox *infoBox = new QMessageBox(ICore::mainWindow());
infoBox->setIcon(QMessageBox::Critical);
- infoBox->setWindowTitle(tr("Qt Creator"));
+ infoBox->setWindowTitle(Core::Constants::IDE_DISPLAY_NAME);
infoBox->setText(error);
infoBox->setStandardButtons(QMessageBox::Ok | QMessageBox::Help);
infoBox->setDefaultButton(QMessageBox::Ok);
diff --git a/src/plugins/debugger/watchhandler.cpp b/src/plugins/debugger/watchhandler.cpp
index 32aaa3bbc02..5947ac4cca2 100644
--- a/src/plugins/debugger/watchhandler.cpp
+++ b/src/plugins/debugger/watchhandler.cpp
@@ -46,6 +46,7 @@
#include
+#include
#include
#include
#include
@@ -271,7 +272,7 @@ public:
setTabsClosable(true);
connect(this, &QTabWidget::tabCloseRequested, this, &SeparatedView::closeTab);
setWindowFlags(windowFlags() | Qt::Window);
- setWindowTitle(WatchHandler::tr("Debugger - Qt Creator"));
+ setWindowTitle(WatchHandler::tr("Debugger - %1").arg(Core::Constants::IDE_DISPLAY_NAME));
QVariant geometry = sessionValue("DebuggerSeparateWidgetGeometry");
if (geometry.isValid()) {
diff --git a/src/plugins/fakevim/fakevimoptions.ui b/src/plugins/fakevim/fakevimoptions.ui
index 8db93d585f1..db3cb7df450 100644
--- a/src/plugins/fakevim/fakevimoptions.ui
+++ b/src/plugins/fakevim/fakevimoptions.ui
@@ -92,7 +92,7 @@
-
- Passes key sequences like Ctrl-S to Qt Creator core instead of interpreting them in FakeVim. This gives easier access to Qt Creator core functionality at the price of losing some features of FakeVim.
+ Does not interpret key sequences like Ctrl-S in FakeVim but handles them as regular shortcuts. This gives easier access to core functionality at the price of losing some features of FakeVim.
Pass control key
@@ -123,7 +123,7 @@
-
- Lets Qt Creator handle some key presses in insert mode so that code can be properly completed and expanded.
+ Does not interpret some key presses in insert mode so that code can be properly completed and expanded.
Pass keys in insert mode
diff --git a/src/plugins/genericprojectmanager/genericprojectwizard.cpp b/src/plugins/genericprojectmanager/genericprojectwizard.cpp
index c91abba26d9..f38be2003b5 100644
--- a/src/plugins/genericprojectmanager/genericprojectwizard.cpp
+++ b/src/plugins/genericprojectmanager/genericprojectwizard.cpp
@@ -31,6 +31,7 @@
#include
#include
+#include
#include
#include
#include
@@ -115,7 +116,8 @@ GenericProjectWizard::GenericProjectWizard()
setDisplayName(tr("Import Existing Project"));
setId("Z.Makefile");
setDescription(tr("Imports existing projects that do not use qmake, CMake or Autotools. "
- "This allows you to use Qt Creator as a code editor."));
+ "This allows you to use %1 as a code editor.")
+ .arg(Core::Constants::IDE_DISPLAY_NAME));
setCategory(QLatin1String(ProjectExplorer::Constants::IMPORT_WIZARD_CATEGORY));
setDisplayCategory(QLatin1String(ProjectExplorer::Constants::IMPORT_WIZARD_CATEGORY_DISPLAY));
setFlags(Core::IWizardFactory::PlatformIndependent);
diff --git a/src/plugins/projectexplorer/projectexplorer.cpp b/src/plugins/projectexplorer/projectexplorer.cpp
index cd2a3e10631..1f45b23a542 100644
--- a/src/plugins/projectexplorer/projectexplorer.cpp
+++ b/src/plugins/projectexplorer/projectexplorer.cpp
@@ -94,6 +94,7 @@
#include "projecttree.h"
#include "projectwelcomepage.h"
+#include
#include
#include
#include
@@ -2545,9 +2546,10 @@ bool ProjectExplorerPlugin::coreAboutToClose()
QPushButton *closeAnyway = box.addButton(tr("Cancel Build && Close"), QMessageBox::AcceptRole);
QPushButton *cancelClose = box.addButton(tr("Do Not Close"), QMessageBox::RejectRole);
box.setDefaultButton(cancelClose);
- box.setWindowTitle(tr("Close Qt Creator?"));
+ box.setWindowTitle(tr("Close %1?").arg(Core::Constants::IDE_DISPLAY_NAME));
box.setText(tr("A project is currently being built."));
- box.setInformativeText(tr("Do you want to cancel the build process and close Qt Creator anyway?"));
+ box.setInformativeText(tr("Do you want to cancel the build process and close %1 anyway?")
+ .arg(Core::Constants::IDE_DISPLAY_NAME));
box.exec();
if (box.clickedButton() != closeAnyway)
return false;
diff --git a/src/plugins/projectexplorer/sessiondialog.ui b/src/plugins/projectexplorer/sessiondialog.ui
index fd41eeacec1..21f2195a5ce 100644
--- a/src/plugins/projectexplorer/sessiondialog.ui
+++ b/src/plugins/projectexplorer/sessiondialog.ui
@@ -87,9 +87,6 @@
-
-
- Automatically restores the last session when Qt Creator is started.
-
Restore last session on startup
diff --git a/src/plugins/projectexplorer/settingsaccessor.cpp b/src/plugins/projectexplorer/settingsaccessor.cpp
index 49b24103f5a..6b413d702c0 100644
--- a/src/plugins/projectexplorer/settingsaccessor.cpp
+++ b/src/plugins/projectexplorer/settingsaccessor.cpp
@@ -35,6 +35,7 @@
#include "kit.h"
#include "kitmanager.h"
+#include
#include
#include
#include
@@ -837,11 +838,12 @@ SettingsAccessor::IssueInfo SettingsAccessor::findIssues(const QVariantMap &data
result.message = QApplication::translate("Utils::SettingsAccessor",
"
The versioned backup \"%1\" of the settings "
"file is used, because the non-versioned file was "
- "created by an incompatible version of Qt Creator.
"
+ "created by an incompatible version of %2.
"
"Settings changes made since the last time this "
- "version of Qt Creator was used are ignored, and "
+ "version of %2 was used are ignored, and "
"changes made now will not be propagated to "
- "the newer version.
").arg(path.toUserOutput());
+ "the newer version.").arg(path.toUserOutput())
+ .arg(Core::Constants::IDE_DISPLAY_NAME);
result.buttons.insert(QMessageBox::Ok, Continue);
}
@@ -853,10 +855,11 @@ SettingsAccessor::IssueInfo SettingsAccessor::findIssues(const QVariantMap &data
result.title = differentEnvironmentMsg(project()->displayName());
result.message = QApplication::translate("ProjectExplorer::EnvironmentIdAccessor",
"No .user settings file created by this instance "
- "of Qt Creator was found.
"
+ "of %1 was found."
"Did you work with this project on another machine or "
"using a different settings path before?
"
- "Do you still want to load the settings file \"%1\"?
")
+ "Do you still want to load the settings file \"%2\"?
")
+ .arg(Core::Constants::IDE_DISPLAY_NAME)
.arg(path.toUserOutput());
result.defaultButton = QMessageBox::No;
result.escapeButton = QMessageBox::No;
@@ -1093,8 +1096,9 @@ QVariantMap SettingsAccessor::readSharedSettings(QWidget *parent) const
"Unsupported Shared Settings File"),
QApplication::translate("ProjectExplorer::SettingsAccessor",
"The version of your .shared file is not "
- "supported by Qt Creator. "
- "Do you want to try loading it anyway?"),
+ "supported by %1. "
+ "Do you want to try loading it anyway?")
+ .arg(Core::Constants::IDE_DISPLAY_NAME),
QMessageBox::Yes | QMessageBox::No,
parent);
msgBox.setDefaultButton(QMessageBox::No);
diff --git a/src/plugins/projectexplorer/targetsettingspanel.cpp b/src/plugins/projectexplorer/targetsettingspanel.cpp
index de40db6c669..c089109fda9 100644
--- a/src/plugins/projectexplorer/targetsettingspanel.cpp
+++ b/src/plugins/projectexplorer/targetsettingspanel.cpp
@@ -41,6 +41,8 @@
#include "target.h"
#include "targetsetuppage.h"
+#include
+
#include
#include
#include
@@ -171,20 +173,22 @@ void TargetSetupPageWrapper::updateNoteText()
bool showHint = false;
if (!k) {
text = tr("The project %1 is not yet configured.
"
- "Qt Creator cannot parse the project, because no kit "
+ "%2 cannot parse the project, because no kit "
"has been set up.")
- .arg(m_project->displayName());
+ .arg(m_project->displayName(), Core::Constants::IDE_DISPLAY_NAME);
showHint = true;
} else if (k->isValid()) {
text = tr("The project %1 is not yet configured.
"
- "Qt Creator uses the kit %2 to parse the project.")
+ "%2 uses the kit %3 to parse the project.")
.arg(m_project->displayName())
+ .arg(Core::Constants::IDE_DISPLAY_NAME)
.arg(k->displayName());
showHint = false;
} else {
text = tr("The project %1 is not yet configured.
"
- "Qt Creator uses the invalid kit %2 to parse the project.")
+ "%2 uses the invalid kit %3 to parse the project.")
.arg(m_project->displayName())
+ .arg(Core::Constants::IDE_DISPLAY_NAME)
.arg(k->displayName());
showHint = true;
}
diff --git a/src/plugins/projectexplorer/targetsetuppage.cpp b/src/plugins/projectexplorer/targetsetuppage.cpp
index 0944b8f5b10..c84beaf226d 100644
--- a/src/plugins/projectexplorer/targetsetuppage.cpp
+++ b/src/plugins/projectexplorer/targetsetuppage.cpp
@@ -285,7 +285,7 @@ void TargetSetupPage::setProjectPath(const QString &path)
if (!m_projectPath.isEmpty()) {
QFileInfo fileInfo(QDir::cleanPath(path));
QStringList subDirsList = fileInfo.absolutePath().split('/');
- m_ui->headerLabel->setText(tr("Qt Creator can use the following kits for project %1:",
+ m_ui->headerLabel->setText(tr("The following kits can be used for project %1:",
"%1: Project name").arg(subDirsList.last()));
}
m_ui->headerLabel->setVisible(!m_projectPath.isEmpty());
diff --git a/src/plugins/projectexplorer/task.cpp b/src/plugins/projectexplorer/task.cpp
index 9d6f4a33168..0b34cec14cc 100644
--- a/src/plugins/projectexplorer/task.cpp
+++ b/src/plugins/projectexplorer/task.cpp
@@ -25,6 +25,7 @@
#include "task.h"
+#include
#include
#include
#include
@@ -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);
}
diff --git a/src/plugins/qbsprojectmanager/qbsprofilessettingspage.cpp b/src/plugins/qbsprojectmanager/qbsprofilessettingspage.cpp
index 8e54900fd64..3e7ac54eb43 100644
--- a/src/plugins/qbsprojectmanager/qbsprofilessettingspage.cpp
+++ b/src/plugins/qbsprojectmanager/qbsprofilessettingspage.cpp
@@ -30,6 +30,7 @@
#include "qbsprojectmanagerconstants.h"
#include "qbsprojectmanagersettings.h"
+#include
#include
#include
#include
@@ -105,6 +106,8 @@ QbsProfilesSettingsWidget::QbsProfilesSettingsWidget(QWidget *parent)
{
m_model.setEditable(false);
m_ui.setupUi(this);
+ m_ui.settingsDirCheckBox->setText(tr("Store profiles in %1 settings directory")
+ .arg(Core::Constants::IDE_DISPLAY_NAME));
m_ui.settingsDirCheckBox->setChecked(QbsProjectManagerSettings::useCreatorSettingsDirForQbs());
m_ui.versionValueLabel->setText(qbs::LanguageInfo::qbsVersion());
connect(ProjectExplorer::KitManager::instance(), &ProjectExplorer::KitManager::kitsChanged,
diff --git a/src/plugins/qmakeprojectmanager/wizards/simpleprojectwizard.cpp b/src/plugins/qmakeprojectmanager/wizards/simpleprojectwizard.cpp
index 04e76561730..d6bfb86551f 100644
--- a/src/plugins/qmakeprojectmanager/wizards/simpleprojectwizard.cpp
+++ b/src/plugins/qmakeprojectmanager/wizards/simpleprojectwizard.cpp
@@ -27,6 +27,8 @@
#include
+#include
+
#include
#include
@@ -134,9 +136,10 @@ SimpleProjectWizard::SimpleProjectWizard()
setDisplayName(tr("Import as qmake Project (Limited Functionality)"));
setId("Z.DummyProFile");
setDescription(tr("Imports existing projects that do not use qmake, CMake or Autotools."
- "This creates a qmake .pro file that allows you to use Qt Creator as a code editor "
+ "This creates a qmake .pro file that allows you to use %1 as a code editor "
"and as a launcher for debugging and analyzing tools. "
- "If you want to build the project, you might need to edit the generated .pro file."));
+ "If you want to build the project, you might need to edit the generated .pro file.")
+ .arg(Core::Constants::IDE_DISPLAY_NAME));
setCategory(ProjectExplorer::Constants::IMPORT_WIZARD_CATEGORY);
setDisplayCategory(ProjectExplorer::Constants::IMPORT_WIZARD_CATEGORY_DISPLAY);
setFlags(IWizardFactory::PlatformIndependent);
@@ -200,7 +203,8 @@ GeneratedFiles SimpleProjectWizard::generateFiles(const QWizard *w,
GeneratedFile generatedProFile(proFileName);
generatedProFile.setAttributes(Core::GeneratedFile::OpenProjectAttribute);
generatedProFile.setContents(
- "# Created by and for Qt Creator. This file was created for editing the project sources only.\n"
+ "# Created by and for " + QLatin1String(Core::Constants::IDE_DISPLAY_NAME)
+ + " This file was created for editing the project sources only.\n"
"# You may attempt to use it for building too, by modifying this file here.\n\n"
"#TARGET = " + projectName + "\n\n"
+ proHeaders + "\n\n"
diff --git a/src/plugins/qmldesigner/settingspage.cpp b/src/plugins/qmldesigner/settingspage.cpp
index cc0136dc4c5..0a32af56eac 100644
--- a/src/plugins/qmldesigner/settingspage.cpp
+++ b/src/plugins/qmldesigner/settingspage.cpp
@@ -29,6 +29,8 @@
#include "designersettings.h"
#include "puppetcreator.h"
+#include
+
#include
#include
@@ -251,7 +253,8 @@ void SettingsPage::apply()
if (currentSettings.value(key) != newSettings.value(key)) {
QMessageBox::information(Core::ICore::mainWindow(), tr("Restart Required"),
tr("The made changes will take effect after a "
- "restart of the QML Emulation layer or Qt Creator."));
+ "restart of the QML Emulation layer or %1.")
+ .arg(Core::Constants::IDE_DISPLAY_NAME));
break;
}
}
diff --git a/src/plugins/qmldesigner/settingspage.ui b/src/plugins/qmldesigner/settingspage.ui
index 9fed112a68f..ca00b6fc411 100644
--- a/src/plugins/qmldesigner/settingspage.ui
+++ b/src/plugins/qmldesigner/settingspage.ui
@@ -252,14 +252,14 @@
true
- Path where Qt Creator can find the QML emulation layer executable (qmlpuppet).
+ Path to the QML emulation layer executable (qmlpuppet).
-
- Resets the path to the QML emulation layer that comes with Qt Creator.
+ Resets the path to the built-in QML emulation layer.
Reset Path
diff --git a/src/plugins/qmlprofiler/qmlprofilerconfigwidget.ui b/src/plugins/qmlprofiler/qmlprofilerconfigwidget.ui
index 9c7bdb50dcd..df66e67b80a 100644
--- a/src/plugins/qmlprofiler/qmlprofilerconfigwidget.ui
+++ b/src/plugins/qmlprofiler/qmlprofilerconfigwidget.ui
@@ -21,7 +21,7 @@
-
- Periodically flush pending data to Qt Creator. This reduces the delay when loading the
+ Periodically flush pending data to the profiler. This reduces the delay when loading the
data and the memory usage in the application. It distorts the profile as the flushing
itself takes time.
diff --git a/src/plugins/qmlprofiler/qmlprofilerruncontrol.cpp b/src/plugins/qmlprofiler/qmlprofilerruncontrol.cpp
index 949eab3176a..8e6b2895f79 100644
--- a/src/plugins/qmlprofiler/qmlprofilerruncontrol.cpp
+++ b/src/plugins/qmlprofiler/qmlprofilerruncontrol.cpp
@@ -28,6 +28,8 @@
#include "qmlprofilerclientmanager.h"
#include "qmlprofilertool.h"
+#include
+
#include
#include
@@ -100,7 +102,7 @@ void QmlProfilerRunner::start()
this, [this, clientManager] {
QMessageBox *infoBox = new QMessageBox(ICore::mainWindow());
infoBox->setIcon(QMessageBox::Critical);
- infoBox->setWindowTitle(QmlProfilerTool::tr("Qt Creator"));
+ infoBox->setWindowTitle(Core::Constants::IDE_DISPLAY_NAME);
infoBox->setText(QmlProfilerTool::tr("Could not connect to the in-process QML profiler.\n"
"Do you want to retry?"));
infoBox->setStandardButtons(QMessageBox::Retry | QMessageBox::Cancel | QMessageBox::Help);
diff --git a/src/plugins/texteditor/behaviorsettingswidget.ui b/src/plugins/texteditor/behaviorsettingswidget.ui
index bc3d4e5b767..a342858801b 100644
--- a/src/plugins/texteditor/behaviorsettingswidget.ui
+++ b/src/plugins/texteditor/behaviorsettingswidget.ui
@@ -7,7 +7,7 @@
0
0
801
- 459
+ 480
@@ -290,7 +290,7 @@ Specifies how backspace interacts with indentation.
<html><head/><body>
<p>How text editors should deal with UTF-8 Byte Order Marks. The options are:</p>
-<ul ><li><i>Add If Encoding Is UTF-8:</i> always add a BOM when saving a file in UTF-8 encoding. Note that this will not work if the encoding is <i>System</i>, as Qt Creator does not know what it actually is.</li>
+<ul ><li><i>Add If Encoding Is UTF-8:</i> always add a BOM when saving a file in UTF-8 encoding. Note that this will not work if the encoding is <i>System</i>, as the text editor does not know what it actually is.</li>
<li><i>Keep If Already Present: </i>save the file with a BOM if it already had one when it was loaded.</li>
<li><i>Always Delete:</i> never write an UTF-8 BOM, possibly deleting a pre-existing one.</li></ul>
<p>Note that UTF-8 BOMs are uncommon and treated incorrectly by some editors, so it usually makes little sense to add any.</p>
diff --git a/src/plugins/texteditor/fontsettingspage.cpp b/src/plugins/texteditor/fontsettingspage.cpp
index 18d324a7e8c..64d1209a7c9 100644
--- a/src/plugins/texteditor/fontsettingspage.cpp
+++ b/src/plugins/texteditor/fontsettingspage.cpp
@@ -349,7 +349,7 @@ QWidget *FontSettingsPage::widget()
d_ptr->m_ui = new Ui::FontSettingsPage;
d_ptr->m_ui->setupUi(d_ptr->m_widget);
d_ptr->m_ui->colorSchemeGroupBox->setTitle(
- tr("Color Scheme for Qt Creator Theme \"%1\"")
+ tr("Color Scheme for Theme \"%1\"")
.arg(Utils::creatorTheme()->displayName()));
d_ptr->m_ui->schemeComboBox->setModel(d_ptr->m_schemeListModel);
diff --git a/src/plugins/updateinfo/settingspage.ui b/src/plugins/updateinfo/settingspage.ui
index 7e16862038a..de6357b9568 100644
--- a/src/plugins/updateinfo/settingspage.ui
+++ b/src/plugins/updateinfo/settingspage.ui
@@ -42,7 +42,7 @@
- Qt Creator automatically runs a scheduled check for updates on a time interval basis. If Qt Creator is not in use on the scheduled date, the automatic check for updates will be performed next time Qt Creator starts.
+ Automatically runs a scheduled check for updates on a time interval basis. The automatic check for updates will be performed at the scheduled date, or the next startup following it.
true
diff --git a/src/plugins/welcome/welcomeplugin.cpp b/src/plugins/welcome/welcomeplugin.cpp
index c7d6058012c..d22d398334a 100644
--- a/src/plugins/welcome/welcomeplugin.cpp
+++ b/src/plugins/welcome/welcomeplugin.cpp
@@ -26,6 +26,8 @@
#include
#include
+#include
+
#include
#include
#include
@@ -227,7 +229,8 @@ public:
l->addWidget(newLabel);
auto learnLabel = new QLabel(tr("Learn how to develop your own applications "
- "and explore Qt Creator."), this);
+ "and explore %1.")
+ .arg(Core::Constants::IDE_DISPLAY_NAME), this);
learnLabel->setMaximumWidth(200);
learnLabel->setSizePolicy(QSizePolicy::Minimum, QSizePolicy::Minimum);
learnLabel->setWordWrap(true);
diff --git a/src/plugins/winrt/winrtdebugsupport.cpp b/src/plugins/winrt/winrtdebugsupport.cpp
index de74efdc519..03945602a08 100644
--- a/src/plugins/winrt/winrtdebugsupport.cpp
+++ b/src/plugins/winrt/winrtdebugsupport.cpp
@@ -27,6 +27,8 @@
#include "winrtrunconfiguration.h"
#include "winrtrunnerhelper.h"
+#include
+
#include
#include
@@ -56,9 +58,10 @@ WinRtDebugSupport::WinRtDebugSupport(RunControl *runControl)
QFileInfo debuggerHelper(QCoreApplication::applicationDirPath()
+ QLatin1String("/winrtdebughelper.exe"));
if (!debuggerHelper.isExecutable()) {
- reportFailure(tr("The WinRT debugging helper is missing from your Qt Creator "
- "installation. It was assumed to be located at %1").arg(
- debuggerHelper.absoluteFilePath()));
+ reportFailure(tr("The WinRT debugging helper is missing from your %1 "
+ "installation. It was assumed to be located at %2")
+ .arg(Core::Constants::IDE_DISPLAY_NAME)
+ .arg(debuggerHelper.absoluteFilePath()));
return;
}
diff --git a/src/tools/sdktool/addcmakeoperation.cpp b/src/tools/sdktool/addcmakeoperation.cpp
index d6e6146d750..bddf275c51f 100644
--- a/src/tools/sdktool/addcmakeoperation.cpp
+++ b/src/tools/sdktool/addcmakeoperation.cpp
@@ -55,7 +55,7 @@ QString AddCMakeOperation::name() const
QString AddCMakeOperation::helpText() const
{
- return QString("add a cmake tool to Qt Creator");
+ return QString("add a cmake tool");
}
QString AddCMakeOperation::argumentsHelpText() const
diff --git a/src/tools/sdktool/adddebuggeroperation.cpp b/src/tools/sdktool/adddebuggeroperation.cpp
index a39af5a71d7..6ec0716491a 100644
--- a/src/tools/sdktool/adddebuggeroperation.cpp
+++ b/src/tools/sdktool/adddebuggeroperation.cpp
@@ -56,7 +56,7 @@ QString AddDebuggerOperation::name() const
QString AddDebuggerOperation::helpText() const
{
- return QLatin1String("add a debugger to Qt Creator");
+ return QLatin1String("add a debugger");
}
QString AddDebuggerOperation::argumentsHelpText() const
diff --git a/src/tools/sdktool/adddeviceoperation.cpp b/src/tools/sdktool/adddeviceoperation.cpp
index 34d0d26455c..91eff774cfe 100644
--- a/src/tools/sdktool/adddeviceoperation.cpp
+++ b/src/tools/sdktool/adddeviceoperation.cpp
@@ -50,7 +50,7 @@ QString AddDeviceOperation::name() const
QString AddDeviceOperation::helpText() const
{
- return QLatin1String("add a Device to Qt Creator");
+ return QLatin1String("add a Device");
}
QString AddDeviceOperation::argumentsHelpText() const
diff --git a/src/tools/sdktool/addkeysoperation.cpp b/src/tools/sdktool/addkeysoperation.cpp
index 8fa6f465560..b7abd5aacae 100644
--- a/src/tools/sdktool/addkeysoperation.cpp
+++ b/src/tools/sdktool/addkeysoperation.cpp
@@ -34,7 +34,7 @@ QString AddKeysOperation::name() const
QString AddKeysOperation::helpText() const
{
- return QLatin1String("add settings to Qt Creator configuration");
+ return QLatin1String("add arbitrary settings to configuration");
}
QString AddKeysOperation::argumentsHelpText() const
diff --git a/src/tools/sdktool/addkitoperation.cpp b/src/tools/sdktool/addkitoperation.cpp
index e46945e1a59..e5767be7e86 100644
--- a/src/tools/sdktool/addkitoperation.cpp
+++ b/src/tools/sdktool/addkitoperation.cpp
@@ -78,7 +78,7 @@ QString AddKitOperation::name() const
QString AddKitOperation::helpText() const
{
- return QString("add a Kit to Qt Creator");
+ return QString("add a Kit");
}
QString AddKitOperation::argumentsHelpText() const
diff --git a/src/tools/sdktool/addqtoperation.cpp b/src/tools/sdktool/addqtoperation.cpp
index 0039e4217c6..59a0b1b5550 100644
--- a/src/tools/sdktool/addqtoperation.cpp
+++ b/src/tools/sdktool/addqtoperation.cpp
@@ -63,7 +63,7 @@ QString AddQtOperation::name() const
QString AddQtOperation::helpText() const
{
- return QLatin1String("add a Qt version to Qt Creator");
+ return QLatin1String("add a Qt version");
}
QString AddQtOperation::argumentsHelpText() const
diff --git a/src/tools/sdktool/addtoolchainoperation.cpp b/src/tools/sdktool/addtoolchainoperation.cpp
index 60aba4558d3..51f98fe555b 100644
--- a/src/tools/sdktool/addtoolchainoperation.cpp
+++ b/src/tools/sdktool/addtoolchainoperation.cpp
@@ -61,7 +61,7 @@ QString AddToolChainOperation::name() const
QString AddToolChainOperation::helpText() const
{
- return QString("add a tool chain to Qt Creator");
+ return QString("add a tool chain");
}
QString AddToolChainOperation::argumentsHelpText() const
diff --git a/src/tools/sdktool/findkeyoperation.cpp b/src/tools/sdktool/findkeyoperation.cpp
index 1085b20f343..58d3b31ed24 100644
--- a/src/tools/sdktool/findkeyoperation.cpp
+++ b/src/tools/sdktool/findkeyoperation.cpp
@@ -34,7 +34,7 @@ QString FindKeyOperation::name() const
QString FindKeyOperation::helpText() const
{
- return QLatin1String("find a key in the settings of Qt Creator");
+ return QLatin1String("find a key in the settings");
}
QString FindKeyOperation::argumentsHelpText() const
diff --git a/src/tools/sdktool/findvalueoperation.cpp b/src/tools/sdktool/findvalueoperation.cpp
index e7d31892f73..e59a0fa115e 100644
--- a/src/tools/sdktool/findvalueoperation.cpp
+++ b/src/tools/sdktool/findvalueoperation.cpp
@@ -34,7 +34,7 @@ QString FindValueOperation::name() const
QString FindValueOperation::helpText() const
{
- return QLatin1String("find a value in the settings of Qt Creator");
+ return QLatin1String("find a value in the settings");
}
QString FindValueOperation::argumentsHelpText() const
diff --git a/src/tools/sdktool/getoperation.cpp b/src/tools/sdktool/getoperation.cpp
index b43346dd6f4..fb15d42142e 100644
--- a/src/tools/sdktool/getoperation.cpp
+++ b/src/tools/sdktool/getoperation.cpp
@@ -34,7 +34,7 @@ QString GetOperation::name() const
QString GetOperation::helpText() const
{
- return QLatin1String("get settings from Qt Creator configuration");
+ return QLatin1String("get settings from configuration");
}
QString GetOperation::argumentsHelpText() const
diff --git a/src/tools/sdktool/main.cpp b/src/tools/sdktool/main.cpp
index 0e5b4320fa6..f480543fbb6 100644
--- a/src/tools/sdktool/main.cpp
+++ b/src/tools/sdktool/main.cpp
@@ -45,6 +45,8 @@
#include "rmqtoperation.h"
#include "rmtoolchainoperation.h"
+#include
+
#include
#include
@@ -52,7 +54,7 @@
void printHelp(const Operation *op)
{
- std::cout << "Qt Creator SDK setup tool." << std::endl;
+ std::cout << Core::Constants::IDE_DISPLAY_NAME << " SDK setup tool." << std::endl;
std::cout << "Help for operation " << qPrintable(op->name()) << std::endl;
std::cout << std::endl;
@@ -68,7 +70,7 @@ const QString tabular(const Operation *o)
void printHelp(const QList &operations)
{
- std::cout << "Qt Creator SDK setup tool." << std::endl;
+ std::cout << Core::Constants::IDE_DISPLAY_NAME << "SDK setup tool." << std::endl;
std::cout << " Usage: " << qPrintable(QCoreApplication::arguments().at(0))
<< " " << std::endl << std::endl;
std::cout << "ARGS:" << std::endl;
diff --git a/src/tools/sdktool/rmcmakeoperation.cpp b/src/tools/sdktool/rmcmakeoperation.cpp
index dc41b748c36..2eaf84b9d03 100644
--- a/src/tools/sdktool/rmcmakeoperation.cpp
+++ b/src/tools/sdktool/rmcmakeoperation.cpp
@@ -48,7 +48,7 @@ QString RmCMakeOperation::name() const
QString RmCMakeOperation::helpText() const
{
- return QString("remove a cmake tool from Qt Creator");
+ return QString("remove a cmake tool");
}
QString RmCMakeOperation::argumentsHelpText() const
diff --git a/src/tools/sdktool/rmdebuggeroperation.cpp b/src/tools/sdktool/rmdebuggeroperation.cpp
index 129947271a5..8c2a6bea0d9 100644
--- a/src/tools/sdktool/rmdebuggeroperation.cpp
+++ b/src/tools/sdktool/rmdebuggeroperation.cpp
@@ -53,7 +53,7 @@ QString RmDebuggerOperation::name() const
QString RmDebuggerOperation::helpText() const
{
- return QLatin1String("remove a debugger from Qt Creator");
+ return QLatin1String("remove a debugger");
}
QString RmDebuggerOperation::argumentsHelpText() const
diff --git a/src/tools/sdktool/rmdeviceoperation.cpp b/src/tools/sdktool/rmdeviceoperation.cpp
index b678bb07fce..4558352ab33 100644
--- a/src/tools/sdktool/rmdeviceoperation.cpp
+++ b/src/tools/sdktool/rmdeviceoperation.cpp
@@ -39,7 +39,7 @@ QString RmDeviceOperation::name() const
QString RmDeviceOperation::helpText() const
{
- return QLatin1String("remove a Device from Qt Creator");
+ return QLatin1String("remove a Device");
}
QString RmDeviceOperation::argumentsHelpText() const
diff --git a/src/tools/sdktool/rmkeysoperation.cpp b/src/tools/sdktool/rmkeysoperation.cpp
index 138506bbb84..ff1f7f8baf9 100644
--- a/src/tools/sdktool/rmkeysoperation.cpp
+++ b/src/tools/sdktool/rmkeysoperation.cpp
@@ -34,7 +34,7 @@ QString RmKeysOperation::name() const
QString RmKeysOperation::helpText() const
{
- return QLatin1String("remove settings from Qt Creator configuration");
+ return QLatin1String("remove settings from configuration");
}
QString RmKeysOperation::argumentsHelpText() const
diff --git a/src/tools/sdktool/rmkitoperation.cpp b/src/tools/sdktool/rmkitoperation.cpp
index caa4c2f0e05..5abfe9ecdd0 100644
--- a/src/tools/sdktool/rmkitoperation.cpp
+++ b/src/tools/sdktool/rmkitoperation.cpp
@@ -57,7 +57,7 @@ QString RmKitOperation::name() const
QString RmKitOperation::helpText() const
{
- return QString("remove a Kit from Qt Creator");
+ return QString("remove a Kit");
}
QString RmKitOperation::argumentsHelpText() const
diff --git a/src/tools/sdktool/rmqtoperation.cpp b/src/tools/sdktool/rmqtoperation.cpp
index 50e6e66bfe8..292b8fdb3fe 100644
--- a/src/tools/sdktool/rmqtoperation.cpp
+++ b/src/tools/sdktool/rmqtoperation.cpp
@@ -47,7 +47,7 @@ QString RmQtOperation::name() const
QString RmQtOperation::helpText() const
{
- return QLatin1String("remove a Qt version from Qt Creator");
+ return QLatin1String("remove a Qt version");
}
QString RmQtOperation::argumentsHelpText() const
diff --git a/src/tools/sdktool/rmtoolchainoperation.cpp b/src/tools/sdktool/rmtoolchainoperation.cpp
index bb1e8d17281..1cefe020609 100644
--- a/src/tools/sdktool/rmtoolchainoperation.cpp
+++ b/src/tools/sdktool/rmtoolchainoperation.cpp
@@ -48,7 +48,7 @@ QString RmToolChainOperation::name() const
QString RmToolChainOperation::helpText() const
{
- return QString("remove a tool chain from Qt Creator");
+ return QString("remove a tool chain");
}
QString RmToolChainOperation::argumentsHelpText() const