forked from qt-creator/qt-creator
AbstractProcessStep: Use task tree for all subclasses
Introduce AbstractProcessStep::runRecipe() virtual method with the default implementation. Task-number: QTCREATORBUG-29168 Change-Id: Iac75f4c38f8ee91ad8ac9324bb27881a3722911f Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -347,7 +347,7 @@ void CMakeBuildStep::setupOutputFormatter(Utils::OutputFormatter *formatter)
|
||||
CMakeAbstractProcessStep::setupOutputFormatter(formatter);
|
||||
}
|
||||
|
||||
void CMakeBuildStep::doRun()
|
||||
Tasking::GroupItem CMakeBuildStep::runRecipe()
|
||||
{
|
||||
using namespace Tasking;
|
||||
|
||||
@@ -380,8 +380,7 @@ void CMakeBuildStep::doRun()
|
||||
onGroupDone(onEnd),
|
||||
onGroupError(onEnd)
|
||||
};
|
||||
|
||||
runTaskTree(root);
|
||||
return root;
|
||||
}
|
||||
|
||||
QString CMakeBuildStep::defaultBuildTarget() const
|
||||
|
||||
@@ -81,7 +81,7 @@ private:
|
||||
|
||||
bool init() override;
|
||||
void setupOutputFormatter(Utils::OutputFormatter *formatter) override;
|
||||
void doRun() override;
|
||||
Tasking::GroupItem runRecipe() final;
|
||||
QWidget *createConfigWidget() override;
|
||||
|
||||
Utils::FilePath cmakeExecutable() const;
|
||||
|
||||
Reference in New Issue
Block a user