forked from qt-creator/qt-creator
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:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user