summaryrefslogtreecommitdiffstats
path: root/Subsurface-mobile.pro
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2020-11-27 22:08:17 +0000
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-12-17 09:17:54 -0800
commita7d6736665e64c2cc08188ead0086f16d92a9a0d (patch)
tree647713b595858b9087ecb5538ff5c004cbd1f23d /Subsurface-mobile.pro
parent820fefb372e85cfe0857bb41a63ca032a87bfb54 (diff)
downloadsubsurface-a7d6736665e64c2cc08188ead0086f16d92a9a0d.tar.gz
build-system/Android: handle resource issues
It appears that the Kirigami shaders aren't bundled with the app. They should be part of the plugin, but somehow they aren't. This way things at least 'mostly work'. We also need the icons. And to make this a bit more structured, move those resource declarations into the Android part of the qmake file until we know how all this works out on iOS. The Android app is still fairly unusable with all kinds of weird font problems and many other issues, but at least it once again starts. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'Subsurface-mobile.pro')
-rw-r--r--Subsurface-mobile.pro10
1 files changed, 8 insertions, 2 deletions
diff --git a/Subsurface-mobile.pro b/Subsurface-mobile.pro
index cd0c19db9..66763448f 100644
--- a/Subsurface-mobile.pro
+++ b/Subsurface-mobile.pro
@@ -305,8 +305,14 @@ RESOURCES += mobile-widgets/qml/mobile-resources.qrc \
android {
SOURCES += core/android.cpp \
core/serial_usb_android.cpp
- RESOURCES += packaging/android/translations.qrc
- RESOURCES += android-mobile/font.qrc
+
+ # ironically, we appear to need to include the Kirigami shaders here
+ # as they aren't found when we assume that they are part of the
+ # libkirigami library
+ RESOURCES += packaging/android/translations.qrc \
+ android-mobile/font.qrc \
+ mobile-widgets/3rdparty/icons.qrc \
+ mobile-widgets/3rdparty/kirigami/src/scenegraph/shaders/shaders.qrc
QT += androidextras
ANDROID_PACKAGE_SOURCE_DIR = $$PWD/android-mobile
ANDROID_VERSION_CODE = $$BUILD_NR