Commit 4b9a0e27 authored by Tobias Hunger's avatar Tobias Hunger
Browse files

Show qmake path in targetsetuppage tooltips

parent 1d8e1760
......@@ -135,7 +135,10 @@ void TargetSetupPage::setImportInfos(const QList<ImportInfo> &infos)
QTreeWidgetItem *versionItem = new QTreeWidgetItem(targetItem);
QPair<QIcon, QString> issues = reportIssues(i.version);
QString toolTip = i.version->displayName();
QString toolTip = QLatin1String("<nobr>");
toolTip = toolTip.append(i.version->displayName());
toolTip.append(tr("<br>using %1", "%1: qmake used (incl. full path)").
arg(QDir::toNativeSeparators(i.version->qmakeCommand())));
if (!issues.second.isEmpty())
toolTip.append(QString::fromLatin1("<br><br>%1").arg(issues.second));
......
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