ApplicationRC: make exectuable() and co. return expanded values

This commit is contained in:
dt
2010-09-27 15:04:58 +01:00
parent 8cfcb1dffd
commit 5adeb48e52
8 changed files with 53 additions and 15 deletions

View File

@@ -148,9 +148,9 @@ static DebuggerStartParameters localStartParameters(RunConfiguration *runConfigu
sp.startMode = StartInternal;
sp.environment = rc->environment().toStringList();
sp.workingDirectory = rc->environment().expandVariables(rc->workingDirectory());
sp.executable = rc->environment().searchInPath(rc->executable(), QStringList() << sp.workingDirectory);
sp.processArgs = rc->environment().expandVariables(rc->commandLineArguments());
sp.workingDirectory = rc->workingDirectory();
sp.executable = rc->executable();
sp.processArgs = rc->commandLineArguments();
sp.toolChainType = rc->toolChainType();
sp.useTerminal = rc->runMode() == LocalApplicationRunConfiguration::Console;
sp.dumperLibrary = rc->dumperLibrary();