forked from qt-creator/qt-creator
Android: Support the extraenvvars and extraappparams options
The Qt/Android runtime does support passing parameters to the application. We have to pass '-e extraappparams <base64 string>' and '-e extraenvvars <base64 strings, concatenated by ";">'. This is very handy and should actually be exposed in the GUI. Change-Id: I8c84a53ab8f6f07ea5b6e01c902f53385df8b35f Reviewed-by: Vikas Pachdha <vikas.pachdha@qt.io>
This commit is contained in:
@@ -93,11 +93,13 @@ static QString toNdkArch(const QString &arch)
|
||||
return QLatin1String("arch-") + arch;
|
||||
}
|
||||
|
||||
AndroidDebugSupport::AndroidDebugSupport(RunControl *runControl)
|
||||
AndroidDebugSupport::AndroidDebugSupport(RunControl *runControl, const QString &intentName,
|
||||
const QString &extraAppParams,
|
||||
const Utils::Environment &extraEnvVars)
|
||||
: Debugger::DebuggerRunTool(runControl)
|
||||
{
|
||||
setDisplayName("AndroidDebugger");
|
||||
m_runner = new AndroidRunner(runControl);
|
||||
m_runner = new AndroidRunner(runControl, intentName, extraAppParams, extraEnvVars);
|
||||
addStartDependency(m_runner);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user