Commit 88e612f2 authored by Christian Stenger's avatar Christian Stenger

Nim: Set environment for running project

Avoids command line warning
"QtcProcess::start: Empty environment set when running".

Change-Id: I230a33762dd20134c9d439624ca360acf2cbf956
Reviewed-by: default avatarFilippo Cucchetto <filippocucchetto@gmail.com>
Reviewed-by: default avatarhjk <hjk@qt.io>
parent 3c1c37f1
...@@ -80,6 +80,7 @@ Runnable NimRunConfiguration::runnable() const ...@@ -80,6 +80,7 @@ Runnable NimRunConfiguration::runnable() const
result.executable = m_executable; result.executable = m_executable;
result.commandLineArguments = m_argumentAspect->arguments(); result.commandLineArguments = m_argumentAspect->arguments();
result.workingDirectory = m_workingDirectoryAspect->workingDirectory().toString(); result.workingDirectory = m_workingDirectoryAspect->workingDirectory().toString();
result.environment = m_localEnvironmentAspect->environment();
return result; return result;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment