Android build: compile kirigami

Build kirkigami plugin out of source and make sure that we use the same QT
version for the plugin and the app.

Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Joakim Bygdell 2016-08-16 09:08:34 +02:00 committed by Dirk Hohndel
parent 59e53ae4cc
commit 925fd8d4c1

View file

@ -316,13 +316,12 @@ 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
rm -rf kirigami-build
mkdir -p kirigami-build
pushd kirigami-build
cmake $SUBSURFACE_SOURCE/mobile-widgets/qml/kirigami/ -DSTATIC_LIBRARY=ON -DCMAKE_PREFIX_PATH:UNINITIALIZED=${QT5_ANDROID}/android_${QT_ARCH}/lib/cmake
make -j4
make install
popd
fi
if [ ! -z "$SUBSURFACE_MOBILE" ] ; then