1
0

qt desktop gui: upgrade qt5->qt6

closes https://github.com/spesmilo/electrum/issues/8007
This commit is contained in:
SomberNight
2024-09-05 16:20:01 +00:00
parent fcc4e1d387
commit cfe8502f96
89 changed files with 918 additions and 1010 deletions

View File

@@ -17,7 +17,7 @@ $ git submodule update --init
Run install (this should install most dependencies):
```
$ python3 -m pip install --user -e ".[crypto]"
$ python3 -m pip install --user -e ".[gui,crypto]"
```
### 2. Install libsecp256k1
@@ -26,23 +26,7 @@ $ brew install autoconf automake libtool coreutils
$ contrib/make_libsecp256k1.sh
```
### 3. Install PyQt5
On Intel-based (x86_64) Macs:
```
$ python3 -m pip install --user pyqt5
```
Re ARM-based Macs (Apple M1), there are no prebuilt wheels on PyPI.
As a workaround, we can install it from `brew`:
```
$ brew install pyqt5
$ echo 'export PATH="/opt/homebrew/opt/qt@5/bin:$PATH"' >> ~/.zshrc
$ echo 'export PATH="/opt/homebrew/opt/pyqt@5/5.15.4_1/bin:$PATH"' >> ~/.zshrc
$ source ~/.zshrc
```
### 4. Run electrum:
### 3. Run electrum:
```
$ ./run_electrum
```