Make missing uses of IDE name configurable

Change-Id: Ie89293b80adfacea19bcb949e4524f16fbb223f9
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
Robert Loehning
2018-01-02 17:13:57 +01:00
parent dbfbe1d65d
commit e07bf2f682
8 changed files with 38 additions and 20 deletions

View File

@@ -26,6 +26,8 @@
#include "procinterrupt.h"
#include "debuggerconstants.h"
#include <app/app_version.h>
#include <QCoreApplication>
#include <QDir>
#include <QProcess> // makes kill visible on Windows.
@@ -147,10 +149,10 @@ GDB 32bit | Api | Api | NA | Win32
? QCoreApplication::applicationDirPath() + QLatin1String("/win32interrupt.exe")
: QCoreApplication::applicationDirPath() + QLatin1String("/win64interrupt.exe");
if (!QFile::exists(executable)) {
*errorMessage = QString::fromLatin1("%1 does not exist. If you have built QtCreator "
"on your own ,checkout "
*errorMessage = QString::fromLatin1("%1 does not exist. If you have built %2 "
"on your own, checkout "
"https://code.qt.io/cgit/qt-creator/binary-artifacts.git/.").
arg(QDir::toNativeSeparators(executable));
arg(QDir::toNativeSeparators(executable), Core::Constants::IDE_DISPLAY_NAME);
break;
}
switch (QProcess::execute(executable, QStringList(QString::number(pID)))) {