1
0

p4a: fix for Qt5 accessibility bug

see 087fc3c583
This commit is contained in:
Sander van Grieken
2023-04-24 11:27:36 +02:00
parent b429992e77
commit 2fc9ee5c51
2 changed files with 3 additions and 1 deletions

View File

@@ -180,7 +180,7 @@ RUN cd /opt \
&& git remote add accumulator https://github.com/accumulator/python-for-android \
&& git fetch --all \
# commit: from branch accumulator/electrum_20210421d (note: careful with force-pushing! see #8162)
&& git checkout "8d73dc4f2b74b187c4f1ff59b55873ba1e357b05^{commit}" \
&& git checkout "087fc3c583d46bfb2dec54878ddea508afb27de6^{commit}" \
&& python3 -m pip install --no-build-isolation --no-dependencies --user -e .
# build env vars

View File

@@ -65,6 +65,8 @@ class ElectrumGui(BaseElectrumGui, Logger):
os.environ['QT_VIRTUALKEYBOARD_STYLE'] = 'Electrum'
os.environ['QML2_IMPORT_PATH'] = 'electrum/gui/qml'
os.environ['QT_ANDROID_DISABLE_ACCESSIBILITY'] = '1'
# set default locale to en_GB. This is for l10n (e.g. number formatting, number input etc),
# but not for i18n, which is handled by the Translator
# this can be removed once the backend wallet is fully l10n aware