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:
@@ -696,7 +696,7 @@ static bool copyFileIfNewer(const FilePath &sourceFilePath,
|
||||
return true;
|
||||
}
|
||||
|
||||
void AndroidBuildApkStep::doRun()
|
||||
Tasking::GroupItem AndroidBuildApkStep::runRecipe()
|
||||
{
|
||||
using namespace Tasking;
|
||||
|
||||
@@ -854,7 +854,7 @@ void AndroidBuildApkStep::doRun()
|
||||
onGroupDone(onDone),
|
||||
defaultProcessTask()
|
||||
};
|
||||
runTaskTree(root);
|
||||
return root;
|
||||
}
|
||||
|
||||
void AndroidBuildApkStep::reportWarningOrError(const QString &message, Task::TaskType type)
|
||||
|
||||
Reference in New Issue
Block a user