diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2020-11-18 21:26:48 +0000 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-11-19 17:18:33 -0800 |
commit | 480cdca0e9a80eb700b4965d4d6b906b20f97860 (patch) | |
tree | dd4e3aea0511f1f8c78935e8f50db8bda318d619 /scripts | |
parent | 47c837cc426aa62cc41317132a3ec2134cbf3434 (diff) | |
download | subsurface-480cdca0e9a80eb700b4965d4d6b906b20f97860.tar.gz |
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>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/mobilecomponents.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/mobilecomponents.sh b/scripts/mobilecomponents.sh index faff91bde..64538c44b 100755 --- a/scripts/mobilecomponents.sh +++ b/scripts/mobilecomponents.sh @@ -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 |