Qmake: Make makesteps work in DeployConfiguration again

Task-number: QTCREATORBUG-16795
Change-Id: I0772114a82dfd7d41002dc91e3ae5702434b952d
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
Tobias Hunger
2016-08-29 11:44:44 +02:00
parent 3dc0598d83
commit d2a7fa00eb

View File

@@ -113,6 +113,8 @@ QString MakeStep::effectiveMakeCommand() const
QString makeCmd = m_makeCmd;
if (makeCmd.isEmpty()) {
QmakeBuildConfiguration *bc = qmakeBuildConfiguration();
if (!bc)
bc = qobject_cast<QmakeBuildConfiguration *>(target()->activeBuildConfiguration());
ToolChain *tc = ToolChainKitInformation::toolChain(target()->kit());
if (bc && tc)