McuSupport: Use the official product name "Qt for MCUs" a bit more

... for the Kit names and the SDK path label

Change-Id: Idb87b20c944760e599df5edb4b1eafc7d28bde92
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Alessandro Portale
2019-11-14 11:26:07 +01:00
parent 4973af165e
commit 631efb8611

View File

@@ -247,7 +247,7 @@ QString BoardOptions::vendor() const
static PackageOptions *createQulPackage() static PackageOptions *createQulPackage()
{ {
auto result = new PackageOptions( auto result = new PackageOptions(
PackageOptions::tr("Qt MCU SDK"), PackageOptions::tr("Qt for MCUs SDK"),
QDir::homePath(), QDir::homePath(),
Utils::HostOsInfo::withExecutableSuffix("bin/qmltocpp"), Utils::HostOsInfo::withExecutableSuffix("bin/qmltocpp"),
"QtMCUSdk"); "QtMCUSdk");
@@ -556,7 +556,7 @@ static void setKitCMakeOptions(ProjectExplorer::Kit *k, const BoardOptions* boar
QString McuSupportOptions::kitName(const BoardOptions *board) const QString McuSupportOptions::kitName(const BoardOptions *board) const
{ {
// TODO: get version from qulSdkPackage and insert into name // TODO: get version from qulSdkPackage and insert into name
return QString::fromLatin1("QtMCU - %1 %2").arg(board->vendor(), board->model()); return QString::fromLatin1("Qt for MCUs - %1 %2").arg(board->vendor(), board->model());
} }
QList<ProjectExplorer::Kit *> McuSupportOptions::existingKits(const BoardOptions *board) QList<ProjectExplorer::Kit *> McuSupportOptions::existingKits(const BoardOptions *board)