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:
Jarek Kobus
2023-07-12 16:30:33 +02:00
parent 0b2565a3e7
commit 47ac604aea
16 changed files with 61 additions and 103 deletions

View File

@@ -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)