forked from qt-creator/qt-creator
Maemo: Set DISPLAY variable before running remote executable.
This commit is contained in:
@@ -326,7 +326,7 @@ const QString AbstractMaemoRunControl::targetCmdLinePrefix() const
|
||||
const QString &installPrefix = m_needsInstall
|
||||
? remoteInstallCommand() + QLatin1String(" && ")
|
||||
: QString();
|
||||
return QString::fromLocal8Bit("%1%2 chmod u+x %3 && source /etc/profile && ")
|
||||
return QString::fromLocal8Bit("%1%2 chmod a+x %3 && source /etc/profile && DISPLAY=:0.0 ")
|
||||
.arg(installPrefix).arg(remoteSudo()).arg(executableFilePathOnTarget());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user