mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
mobile: hack around error with readonly properties
This used to work, and still works with Qt 5.15 on the desktop, but on Android we get a fatal error trying to open the app. So let's just add another hack on top of all the other hacks we already have. Eventually we need to bite the bullet and update Kirigami. I just wish that wasn't such a pain. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
47c837cc42
commit
480cdca0e9
1 changed files with 6 additions and 0 deletions
|
@ -84,6 +84,12 @@ sed -i -e "s/width: backgroundRect/enabled: root.enabled; width: backgroundRe
|
|||
|
||||
patch -p0 < $SRC/subsurface/scripts/kirigami.diff
|
||||
|
||||
# with Qt5.15 the readonly properties are failing on Android. So let's
|
||||
# patch those out
|
||||
for qml in $(grep -l -R readonly\ .); do
|
||||
sed -i -e "s/readonly //" $qml
|
||||
done
|
||||
|
||||
popd
|
||||
|
||||
echo org.kde.plasma.kirigami synced from upstream
|
||||
|
|
Loading…
Add table
Reference in a new issue