Qmake: Add Qt:QMAKE_SPEC and Qt:QMAKE_XSPEC expandos

Change-Id: Ice7e751609503a55ebcd8a488e42feecd0a293c0
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
This commit is contained in:
Tobias Hunger
2016-06-28 11:24:07 +02:00
parent 031bfa6711
commit a721a6f0c9

View File

@@ -343,6 +343,12 @@ void BaseQtVersion::setupExpander()
m_expander.registerVariable("Qt:QMAKE_MKSPECS",
QtKitInformation::tr("The current Qt version's default mkspecs (Qt 4)."),
[this] { return qmakeProperty(m_versionInfo, "QMAKE_MKSPECS"); });
m_expander.registerVariable("Qt:QMAKE_SPEC",
QtKitInformation::tr("The current Qt version's default mkspec (Qt 5; host system)"),
[this] { return qmakeProperty(m_versionInfo, "QMAKE_SPEC"); });
m_expander.registerVariable("Qt:QMAKE_XSPEC",
QtKitInformation::tr("The current Qt version's default mkspec (Qt 5; target system)."),
[this] { return qmakeProperty(m_versionInfo, "QMAKE_XSPEC"); });
m_expander.registerVariable("Qt:QMAKE_VERSION",
QtKitInformation::tr("The current Qt's qmake version."),