diff options
author | BogDan Vatra <bogdan@kdab.com> | 2019-08-15 08:25:30 +0300 |
---|---|---|
committer | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io> | 2019-10-02 15:00:35 +0000 |
commit | c8b07f7da3ff55f92378a1e98522f318bbc43077 (patch) | |
tree | a6323b27f068277c85756cc2a7f8fa6f28bbbb23 /src/android/templates/build.gradle | |
parent | fb09a8bfcfb9caeb9066946a7340f60d1d6f169c (diff) |
Android: Do not extract QML assets data
Instead to extract the assets QML file, we create a .rcc bundle file
which is register by android qpa plugin before the it invokes the main
function. Thsi way we avoid extracting the QML files from assets as they
can be accessed directly from resources.
[ChangeLog][Android] Instead of bundling QML resources in assets
and extracting them on first start, Qt now creates an .rcc file
and register it before invoking the main function.
Change-Id: Icb2fda79d82c5af102cc9a0276ff26bb0d1599e8
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
Diffstat (limited to 'src/android/templates/build.gradle')
-rw-r--r-- | src/android/templates/build.gradle | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/android/templates/build.gradle b/src/android/templates/build.gradle index d2da115936..3087d08c83 100644 --- a/src/android/templates/build.gradle +++ b/src/android/templates/build.gradle @@ -54,4 +54,9 @@ android { lintOptions { abortOnError false } + + // Do not compress Qt binary resources file + aaptOptions { + noCompress 'rcc' + } } |