Utils: Rename ProjectExplorer::Runnable into Utils::ProcessRunData

Move it into Utils lib.

Change-Id: I3b6c16d18439cabddf59afc03116f13c1970102c
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Jarek Kobus
2023-08-16 19:24:06 +02:00
parent 123eb073ca
commit 121d73b30f
44 changed files with 112 additions and 98 deletions

View File

@@ -214,7 +214,7 @@ void TestConfiguration::completeTestInformation(TestRunMode runMode)
continue;
}
const Runnable runnable = runConfig->runnable();
const ProcessRunData runnable = runConfig->runnable();
// not the best approach - but depending on the build system and whether the executables
// are going to get installed or not we have to soften the condition...
const FilePath currentExecutable = ensureExeEnding(runnable.command.executable());
@@ -246,7 +246,7 @@ void TestConfiguration::completeTestInformation(TestRunMode runMode)
// we failed to find a valid runconfiguration - but we've got the executable already
if (auto rc = target->activeRunConfiguration()) {
if (isLocal(target)) { // FIXME for now only Desktop support
const Runnable runnable = rc->runnable();
const ProcessRunData runnable = rc->runnable();
m_runnable.environment = runnable.environment;
m_deducedConfiguration = true;
m_deducedFrom = rc->displayName();