From f15b5d66393f1036affcd1dee8cd757d54a689fa Mon Sep 17 00:00:00 2001 From: Christian Stenger Date: Mon, 28 Oct 2024 12:27:45 +0100 Subject: [PATCH] PerfProfiler: Apply environment before starting Fixes: QTCREATORBUG-29635 Change-Id: Ibeaee6f57dea0676685e216ef32dffa3a7aee1e7 Reviewed-by: Ulf Hermann --- src/plugins/perfprofiler/perfprofilerruncontrol.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/perfprofiler/perfprofilerruncontrol.cpp b/src/plugins/perfprofiler/perfprofilerruncontrol.cpp index aa95756707b..b279f9d101c 100644 --- a/src/plugins/perfprofiler/perfprofilerruncontrol.cpp +++ b/src/plugins/perfprofiler/perfprofilerruncontrol.cpp @@ -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(); }