forked from qt-creator/qt-creator
Meson: Use QtConcurrent invocation for async run
Change-Id: I2b222a481a32edbea38d1784629b0a888c8b0c57 Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
This commit is contained in:
@@ -12,8 +12,8 @@
|
||||
|
||||
#include <projectexplorer/projectexplorer.h>
|
||||
|
||||
#include <utils/asynctask.h>
|
||||
#include <utils/fileinprojectfinder.h>
|
||||
#include <utils/runextensions.h>
|
||||
|
||||
#include <QStringList>
|
||||
#include <QTextStream>
|
||||
@@ -197,7 +197,7 @@ QList<ProjectExplorer::BuildTargetInfo> MesonProjectParser::appsTargets() const
|
||||
|
||||
bool MesonProjectParser::startParser()
|
||||
{
|
||||
m_parserFutureResult = Utils::runAsync(
|
||||
m_parserFutureResult = Utils::asyncRun(
|
||||
ProjectExplorer::ProjectExplorerPlugin::sharedThreadPool(),
|
||||
[processOutput = m_process.stdOut(), introType = m_introType,
|
||||
buildDir = m_buildDir.toString(), srcDir = m_srcDir] {
|
||||
|
||||
Reference in New Issue
Block a user