diff options
author | Assam Boudjelthia <assam.boudjelthia@qt.io> | 2020-08-13 17:39:22 +0300 |
---|---|---|
committer | Assam Boudjelthia <assam.boudjelthia@qt.io> | 2020-08-28 10:23:18 +0300 |
commit | 00a1e5da7e1aea373a7e6be1d51e1573ff167dd8 (patch) | |
tree | ae80056ad21418a1290b5d2214376c53f07bb0b4 /src/android | |
parent | 949254d5e4f9551aac5af2dbae5dc5dfcedd6235 (diff) |
Android: add option to get app arguments with AndroidManifest.xml
AndroidManifest.xml file and the Android plugin already has a way
to provide commandline-arguments to app with the tag
"android.app.arguments". This change allow to set it from qmake/cmake
and allow Qt Creator to use that.
Task-number: QTCREATORBUG-23712
Change-Id: I3e680f40fd36ba6aaac7f344fb9509d2c3360e74
Reviewed-by: Ville Voutilainen <ville.voutilainen@qt.io>
Diffstat (limited to 'src/android')
-rw-r--r-- | src/android/templates/AndroidManifest.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/android/templates/AndroidManifest.xml b/src/android/templates/AndroidManifest.xml index 092cf16545..62c6da5a32 100644 --- a/src/android/templates/AndroidManifest.xml +++ b/src/android/templates/AndroidManifest.xml @@ -17,7 +17,7 @@ </intent-filter> <!-- Application arguments --> - <!-- meta-data android:name="android.app.arguments" android:value="arg1 arg2 arg3"/ --> + <meta-data android:name="android.app.arguments" android:value="-- %%INSERT_APP_ARGUMENTS%% --"/> <!-- Application arguments --> <meta-data android:name="android.app.lib_name" android:value="-- %%INSERT_APP_LIB_NAME%% --"/> |