From 24718adfc3c2d7caaddd307289ba69fa706315c9 Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Wed, 22 Jun 2016 18:17:25 +0200 Subject: Use kirigami built in static mode Now kirigami needs to be built with a C++ plugin. In cases of mobile operating systems such as iOS (and in a lesser measuse, Android) having a proper plugin loaded at runtime may be difficult, so statically link it together with all of its qml files compiled as a qresource inside the static library. Signed-off-by: Marco Martin Signed-off-by: Dirk Hohndel --- packaging/android/build.sh | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'packaging/android') diff --git a/packaging/android/build.sh b/packaging/android/build.sh index 408a5467d..5319c4d46 100644 --- a/packaging/android/build.sh +++ b/packaging/android/build.sh @@ -316,6 +316,13 @@ if [ "$SUBSURFACE_MOBILE" = "ON" ] ; then pushd $SUBSURFACE_SOURCE bash ./scripts/mobilecomponents.sh popd + + cd $SUBSURFACE_SOURCE/mobile-widgets/qml/kirigami/ + mkdir -p build + cd build + cmake .. -DSTATIC_LIBRARY=ON + make -j4 + make install fi if [ ! -z "$SUBSURFACE_MOBILE" ] ; then -- cgit v1.2.3-70-g09d2