mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
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>
This commit is contained in:
parent
820fefb372
commit
a7d6736665
1 changed files with 8 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue