Nim: Set environment for running project

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

Change-Id: I230a33762dd20134c9d439624ca360acf2cbf956
Reviewed-by: Filippo Cucchetto <filippocucchetto@gmail.com>
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Christian Stenger
2016-08-04 08:38:01 +02:00
parent 3c1c37f1cb
commit 88e612f262

View File

@@ -80,6 +80,7 @@ Runnable NimRunConfiguration::runnable() const
result.executable = m_executable;
result.commandLineArguments = m_argumentAspect->arguments();
result.workingDirectory = m_workingDirectoryAspect->workingDirectory().toString();
result.environment = m_localEnvironmentAspect->environment();
return result;
}