Use IDE_DISPLAY_NAME

Change-Id: If8ae9399a40a460b535faeec2320d1450e5099c5
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
This commit is contained in:
Robert Loehning
2020-07-31 17:41:28 +02:00
parent 4bfdc125ef
commit 64a641ec6a
7 changed files with 26 additions and 11 deletions

View File

@@ -25,6 +25,7 @@
#include "fileapiparser.h"
#include <app/app_version.h>
#include <coreplugin/messagemanager.h>
#include <projectexplorer/rawprojectpart.h>
@@ -62,7 +63,8 @@ static void reportFileApiSetupFailure()
{
Core::MessageManager::write(QCoreApplication::translate(
"CMakeProjectManager::Internal",
"Failed to set up CMake file API support. Qt Creator cannot extract project information."));
"Failed to set up CMake file API support. %1 cannot "
"extract project information.").arg(Core::Constants::IDE_DISPLAY_NAME));
}
static std::pair<int, int> cmakeVersion(const QJsonObject &obj)