diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2018-01-30 18:28:23 +0100 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2018-02-14 12:31:45 +0000 |
commit | 6a964d8d0b098d0b9f9ae2ece9c1194b103b0318 (patch) | |
tree | b1c6d563078f18a63feeec19f4895d7ada73ed74 /src/plugins/android/androidruncontrol.cpp | |
parent | 9771333f9f53e9208e18285ee966b17cfdea7c7d (diff) | |
download | qt-creator-6a964d8d0b098d0b9f9ae2ece9c1194b103b0318.tar.gz |
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>
Diffstat (limited to 'src/plugins/android/androidruncontrol.cpp')
-rw-r--r-- | src/plugins/android/androidruncontrol.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/plugins/android/androidruncontrol.cpp b/src/plugins/android/androidruncontrol.cpp index 5a17b363d2..5c5f0e6a5e 100644 --- a/src/plugins/android/androidruncontrol.cpp +++ b/src/plugins/android/androidruncontrol.cpp @@ -38,8 +38,10 @@ using namespace ProjectExplorer; namespace Android { namespace Internal { -AndroidRunSupport::AndroidRunSupport(RunControl *runControl) - : AndroidRunner(runControl) +AndroidRunSupport::AndroidRunSupport(RunControl *runControl, const QString &intentName, + const QString &extraAppParams, + const Utils::Environment &extraEnvVars) + : AndroidRunner(runControl, intentName, extraAppParams, extraEnvVars) { runControl->setIcon(Utils::Icons::RUN_SMALL_TOOLBAR); } |