Make sure correct files are bundled on Android
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
Thu, 2 May 2013 10:46:51 +0000 (12:46 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Sat, 4 May 2013 07:47:02 +0000 (09:47 +0200)
When we're bundling Qt inside the apk, we need to know
which extra files to bundle which might be dependencies
of the app. In this case, qml/ which contains the imports
for Qt Quick 2, and the accessible/ plugins.

Change-Id: I0782a6146a4d41d895db20d912eb6877e54ef6c8
Reviewed-by: Paul Olav Tvete <paul.tvete@digia.com>
src/quick/quick.pro

index eedc71d..919c9b0 100644 (file)
@@ -16,6 +16,10 @@ QMAKE_DOCS = $$PWD/doc/qtquick.qdocconf
 
 ANDROID_LIB_DEPENDENCY_REPLACEMENTS = \
     "plugins/platforms/android/libqtforandroid.so:plugins/platforms/android/libqtforandroidGL.so"
+MODULE_PLUGIN_TYPES = \
+    accessible
+ANDROID_BUNDLED_FILES += \
+    qml
 
 load(qt_module)