From 57a77fe775886b17fc267a4acb490890748d9ee0 Mon Sep 17 00:00:00 2001 From: Anton Miller Date: Fri, 12 May 2017 14:45:03 +0300 Subject: Android: Allow deploying Qt apps as system apps The main app shared library and shared dependencies are not automatically deployed when the apk is placed in /system/app or /system/priv-app. In such cases, we need to place these libraries in /system/lib and tell QtLoader to load them from here. It is possible to specify a custom library path in AndroidManifest.xml. [ChangeLog][Android][QtLoader] Enabled loading shared libraries from /system/lib or a custom path specified with the android.app.system_libs_prefix metadata variable in AndroidManifest.xml. This allows deploying Qt apps as Android system apps. Change-Id: I8388e91a53475b06a027467face45c08f096fbf8 Reviewed-by: Oswald Buddenhagen Reviewed-by: Anton Kudryavtsev Reviewed-by: Eskil Abrahamsen Blomfeldt --- src/android/templates/AndroidManifest.xml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/android/templates/AndroidManifest.xml') diff --git a/src/android/templates/AndroidManifest.xml b/src/android/templates/AndroidManifest.xml index 066ec0a63c..62e9d0f11c 100644 --- a/src/android/templates/AndroidManifest.xml +++ b/src/android/templates/AndroidManifest.xml @@ -30,6 +30,8 @@ + + -- cgit v1.2.3