Commit 7735dd6e authored by Eike Ziller's avatar Eike Ziller Committed by hjk

Qt version: Fix macro usage in default display names

The variables were changed to start with uppercase characters

Change-Id: I0173e5c943395aa2729d873f9ef7e5d860e906ec
Reviewed-by: default avatarhjk <hjk121@nokiamail.com>
parent 75da1cb8
......@@ -221,7 +221,7 @@ QnxAbstractQtVersion *BlackBerryApiLevelConfiguration::createQtVersion(
{
QnxAbstractQtVersion *version = new BlackBerryQtVersion(
arch, qmakePath, true, QString(), envFile().toString());
version->setUnexpandedDisplayName(tr("Qt %{Qt:version} for %2")
version->setUnexpandedDisplayName(tr("Qt %{Qt:Version} for %2")
.arg(version->qtVersionString(), versionName));
QtVersionManager::addVersion(version);
return version;
......
......@@ -285,8 +285,8 @@ QString BaseQtVersion::defaultUnexpandedDisplayName(const FileName &qmakePath, b
}
return fromPath ?
QCoreApplication::translate("QtVersion", "Qt %{Qt:version} in PATH (%2)").arg(location) :
QCoreApplication::translate("QtVersion", "Qt %{Qt:version} (%2)").arg(location);
QCoreApplication::translate("QtVersion", "Qt %{Qt:Version} in PATH (%2)").arg(location) :
QCoreApplication::translate("QtVersion", "Qt %{Qt:Version} (%2)").arg(location);
}
FeatureSet BaseQtVersion::availableFeatures() const
......
......@@ -195,7 +195,7 @@ QtOptionsPageWidget::QtOptionsPageWidget(QWidget *parent)
this, SLOT(toolChainsUpdated()));
auto chooser = new Core::VariableChooser(this);
chooser->addSupportedWidget(m_versionUi->nameEdit, "Qt:name");
chooser->addSupportedWidget(m_versionUi->nameEdit, "Qt:Name");
chooser->addMacroExpanderProvider(
[this]() -> Utils::MacroExpander * {
BaseQtVersion *version = currentVersion();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment