diff options
author | BogDan Vatra <bogdan@kdab.com> | 2016-03-17 17:52:34 +0200 |
---|---|---|
committer | BogDan Vatra <bogdan@kdab.com> | 2016-03-22 09:14:14 +0000 |
commit | a3269e18012129bab69d9744147f48025f42ddf1 (patch) | |
tree | 6ed2c8b0926c0b2036a0cbaecdb81d808d4d2f18 /src/android/templates | |
parent | e4d79e1fdeb6b26ba0b12b578daacf7cd672b960 (diff) |
Allow the user to choose how much from Android theme is extracted
This way Quick Controls 2 users will have a much faster start up and the
extraction time is reduced x10.
[ChangeLog][Android] Allow the user to choose how much from Android
theme is extracted.
Change-Id: I063086251880d50d7fdd72ee35536c4094b47f74
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@theqtcompany.com>
Diffstat (limited to 'src/android/templates')
-rw-r--r-- | src/android/templates/AndroidManifest.xml | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/android/templates/AndroidManifest.xml b/src/android/templates/AndroidManifest.xml index 22c3ea7578..808cc82ae9 100644 --- a/src/android/templates/AndroidManifest.xml +++ b/src/android/templates/AndroidManifest.xml @@ -52,7 +52,16 @@ <!-- auto screen scale factor --> <meta-data android:name="android.app.auto_screen_scale_factor" android:value="false"/> <!-- auto screen scale factor --> - </activity> + + <!-- extract android style --> + <!-- available android:values : + * full - useful QWidget & Quick Controls 1 apps + * minimal - useful for Quick Controls 2 apps, it is much faster than "full" + * none - useful for apps that don't use any of the above Qt modules + --> + <meta-data android:name="android.app.extract_android_style" android:value="full"/> + <!-- extract android style --> + </activity> <!--service android:process=":qt" android:name="org.qtproject.qt5.android.bindings.QtService"--> <!-- android:process=":qt" is needed to force the service to run on a separate process than the Activity --> |