mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
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:
parent
59e53ae4cc
commit
925fd8d4c1
1 changed files with 5 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue