forked from qt-creator/qt-creator
Add public api to set the inferior environment
This is needed for the GammaRay plugin. Change-Id: Ia76c02756e9deb6f679c871a5cba1f6fc4c5028f Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -427,6 +427,11 @@ void DebuggerRunTool::setInferiorExecutable(const QString &executable)
|
||||
m_runParameters.inferior.executable = executable;
|
||||
}
|
||||
|
||||
void DebuggerRunTool::setInferiorEnvironment(const Utils::Environment &env)
|
||||
{
|
||||
m_runParameters.inferior.environment = env;
|
||||
}
|
||||
|
||||
void DebuggerRunTool::setRunControlName(const QString &name)
|
||||
{
|
||||
m_runParameters.displayName = name;
|
||||
|
Reference in New Issue
Block a user