forked from qt-creator/qt-creator
BuildManager: Provide context of earlier build steps to init
This information can be used to get information from earlier steps, which e.g. queried for android devices to deploy to. Change-Id: Iefe1c9443915cb6211f86f98ff7aaf3cb75145ba Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
This commit is contained in:
@@ -180,7 +180,7 @@ QMakeStepConfig QMakeStep::deducedArguments()
|
||||
}
|
||||
|
||||
|
||||
bool QMakeStep::init()
|
||||
bool QMakeStep::init(QList<const BuildStep *> &earlierSteps)
|
||||
{
|
||||
QmakeBuildConfiguration *qt4bc = qmakeBuildConfiguration();
|
||||
const QtSupport::BaseQtVersion *qtVersion = QtSupport::QtKitInformation::qtVersion(target()->kit());
|
||||
@@ -251,7 +251,7 @@ bool QMakeStep::init()
|
||||
|
||||
m_scriptTemplate = node->projectType() == ScriptTemplate;
|
||||
|
||||
return AbstractProcessStep::init();
|
||||
return AbstractProcessStep::init(earlierSteps);
|
||||
}
|
||||
|
||||
void QMakeStep::run(QFutureInterface<bool> &fi)
|
||||
|
||||
Reference in New Issue
Block a user