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 /qmake | |
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 'qmake')
-rw-r--r-- | qmake/doc/src/qmake-manual.qdoc | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/qmake/doc/src/qmake-manual.qdoc b/qmake/doc/src/qmake-manual.qdoc index 2631abe3aa..9335d27b13 100644 --- a/qmake/doc/src/qmake-manual.qdoc +++ b/qmake/doc/src/qmake-manual.qdoc @@ -937,6 +937,19 @@ Specifies the Android API level number. For more information, see \l{Android: Build Numbers}{Android Build Numbers}. + \target ANDROID_APPLICATION_ARGUMENTS + \section1 ANDROID_APPLICATION_ARGUMENTS + + \note This variable applies only to Android targets. + + Specifies extra command-line arguments to the Android app using the + \c AndroidManifest.xml with the tag "android.app.arguments". This takes + a string of arguments: + + \badcode + ANDROID_APPLICATION_ARGUMENTS = "arg1 arg2 arg3" + \endcode + \target ANDROID_BUNDLED_JAR_DEPENDENCIES \section1 ANDROID_BUNDLED_JAR_DEPENDENCIES |