Final step to be able to set remote environment.

Task-number: QTCREATORBUG-1663
Reviewed-by: ck
This commit is contained in:
kh1
2010-07-29 14:42:04 +02:00
parent ebe2fb88f3
commit 4a16cb9c38
3 changed files with 15 additions and 2 deletions

View File

@@ -113,8 +113,10 @@ void MaemoRunControl::startExecution()
{
emit appendMessage(this, tr("Starting remote process ..."), false);
const QString &remoteExe = m_runConfig->remoteExecutableFilePath();
m_runner->startExecution(QString::fromLocal8Bit("%1 %2 %3")
.arg(MaemoGlobal::remoteCommandPrefix(remoteExe)).arg(remoteExe)
m_runner->startExecution(QString::fromLocal8Bit("%1 %2 %3 %4")
.arg(MaemoGlobal::remoteCommandPrefix(remoteExe))
.arg(MaemoGlobal::remoteEnvironment(m_runConfig->userEnvironmentChanges()))
.arg(remoteExe)
.arg(m_runConfig->arguments().join(QLatin1String(" "))).toUtf8());
}