Use QtcProcess for clangbackend

Change-Id: Ifdcdba765409a09861f81dd3dff405115a986801
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
Jarek Kobus
2021-08-31 10:14:22 +02:00
parent 21fabfeeb6
commit 8724a4efbb
9 changed files with 70 additions and 43 deletions

View File

@@ -29,10 +29,12 @@
#include <sqlitelibraryinitializer.h>
#include <sqliteglobal.h>
#include <utils/launcherinterface.h>
#include <utils/temporarydirectory.h>
#include <QGuiApplication>
#include <QLoggingCategory>
#include <QScopeGuard>
#ifdef WITH_BENCHMARKS
#include <benchmark/benchmark.h>
@@ -58,7 +60,9 @@ int main(int argc, char *argv[])
Sqlite::Database::activateLogging();
QGuiApplication application(argc, argv);
Utils::LauncherInterface::startLauncher(qApp->applicationDirPath() + '/'
+ QLatin1String(TEST_RELATIVE_LIBEXEC_PATH));
auto cleanup = qScopeGuard([] { Utils::LauncherInterface::stopLauncher(); });
testing::InitGoogleTest(&argc, argv);
#ifdef WITH_BENCHMARKS
benchmark::Initialize(&argc, argv);