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(); }