forked from qt-creator/qt-creator
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:
@@ -113,6 +113,8 @@ QString MakeStep::effectiveMakeCommand() const
|
|||||||
QString makeCmd = m_makeCmd;
|
QString makeCmd = m_makeCmd;
|
||||||
if (makeCmd.isEmpty()) {
|
if (makeCmd.isEmpty()) {
|
||||||
QmakeBuildConfiguration *bc = qmakeBuildConfiguration();
|
QmakeBuildConfiguration *bc = qmakeBuildConfiguration();
|
||||||
|
if (!bc)
|
||||||
|
bc = qobject_cast<QmakeBuildConfiguration *>(target()->activeBuildConfiguration());
|
||||||
ToolChain *tc = ToolChainKitInformation::toolChain(target()->kit());
|
ToolChain *tc = ToolChainKitInformation::toolChain(target()->kit());
|
||||||
|
|
||||||
if (bc && tc)
|
if (bc && tc)
|
||||||
|
Reference in New Issue
Block a user