Browse Source

contrib/android/Readme.md: update "how to run qml gui on linux" section

master
SomberNight 2 years ago
parent
commit
d49e1bb32c
No known key found for this signature in database
GPG Key ID: B33B5F232C6271E9
  1. 24
      contrib/android/Readme.md

24
contrib/android/Readme.md

@ -95,18 +95,28 @@ adb logcat | grep -F "`adb shell ps | grep org.electrum.electrum | cut -c14-19`"
### The Qml GUI can be run directly on Linux Desktop. How? ### The Qml GUI can be run directly on Linux Desktop. How?
Install requirements (debian-based distros): Install requirements:
``` ```
sudo apt-get install python3-pyqt5 python3-pyqt5.qtquick python3-pyqt5.qtmultimedia python3 -m pip install "pyqt6==6.5.2" "Pillow>=8.4"
sudo apt-get install python3-pil
sudo apt-get install qml-module-qtquick-controls2 qml-module-qtquick-layouts \
qml-module-qtquick-window2 qml-module-qtmultimedia \
libqt5multimedia5-plugins qml-module-qt-labs-folderlistmodel
sudo apt-get install qtvirtualkeyboard-plugin
``` ```
Run electrum with the `-g` switch: `electrum -g qml` Run electrum with the `-g` switch: `electrum -g qml`
Notes:
- pyqt ~6.4 would work best, as the gui has not yet been adapted to styling changes in 6.5
- However, pyqt6 as distributed on PyPI does not include a required module (PyQt6.QtQml) until 6.5
- Installing these deps from your OS package manager should also work,
except many don't distribute pyqt6 yet.
For pyqt5 on debian-based distros, this used to look like this:
```
sudo apt-get install python3-pyqt5 python3-pyqt5.qtquick python3-pyqt5.qtmultimedia
sudo apt-get install python3-pil
sudo apt-get install qml-module-qtquick-controls2 qml-module-qtquick-layouts \
qml-module-qtquick-window2 qml-module-qtmultimedia \
libqt5multimedia5-plugins qml-module-qt-labs-folderlistmodel
```
### debug vs release build ### debug vs release build
If you just follow the instructions above, you will build the apk If you just follow the instructions above, you will build the apk

Loading…
Cancel
Save