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:
Dirk Hohndel 2020-11-18 21:26:48 +00:00
parent 47c837cc42
commit 480cdca0e9

View file

@ -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