PerfProfiler: Apply environment before starting

Fixes: QTCREATORBUG-29635
Change-Id: Ibeaee6f57dea0676685e216ef32dffa3a7aee1e7
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
This commit is contained in:
Christian Stenger
2024-10-28 12:27:45 +01:00
parent 50b9df83ae
commit f15b5d6639

View File

@@ -125,6 +125,7 @@ public:
m_process->setCommand(cmd);
m_process->setWorkingDirectory(runControl()->workingDirectory());
m_process->setEnvironment(runControl()->environment());
appendMessage("Starting Perf: " + cmd.toUserOutput(), NormalMessageFormat);
m_process->start();
}