Commit 08641790 authored by Tobias Hunger's avatar Tobias Hunger

Qt: Add qmakeExecutable to CurrentKit macro

Change-Id: I6fd0bf19207279dc071faa023fa9fb3b53a6ea17
Reviewed-by: default avatarTim Jenssen <tim.jenssen@theqtcompany.com>
parent 49525a11
......@@ -146,6 +146,11 @@ void QtKitInformation::addToMacroExpander(Kit *kit, MacroExpander *expander) con
BaseQtVersion *version = qtVersion(kit);
return version ? version->displayName() : tr("unknown");
});
expander->registerVariable("Qt:qmakeExecutable", tr("Path to the qmake executable"),
[this, kit]() -> QString {
BaseQtVersion *version = qtVersion(kit);
return version ? version->qmakeCommand().toString() : QString();
});
}
Core::Id QtKitInformation::id()
......
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