|
2 | 2 |
|
3 | 3 | PyQt Examples Client For https://github.com/PyQt5/PyQt
|
4 | 4 |
|
5 | | -It requires both Python35-32 and PyQt 5.10 and QtWebKit. |
| 5 | +It requires both Python35+ and PyQt5 and QtWebKit. |
6 | 6 |
|
7 | | -需要Python35 32位 PyQt5.10 QtWebKit |
| 7 | +需要 Python35+ PyQt5 和 QtWebKit |
8 | 8 |
|
9 | 9 | ## Installing (安装)
|
10 | 10 |
|
11 | | -1.install requirements 安装依赖 |
| 11 | +install requirements |
| 12 | + |
12 | 13 | ```
|
13 | 14 | pip install requests
|
14 | 15 | pip install pygit2==0.27.2
|
15 | | -pip install PyQt5==5.10.1 |
16 | | -pip install PyQtWebKit==5.10.1 |
17 | | -pip install PyQt3D==5.10.1 |
18 | | -pip install PyQtChart==5.10.1 |
19 | | -pip install PyQtDataVisualization==5.10.1 |
20 | | -pip install PyQtPurchasing==5.10.1 |
| 16 | +pip install PyQt5 -U |
| 17 | +pip install PyQt3D -U |
| 18 | +pip install PyQtChart -U |
| 19 | +pip install PyQtDataVisualization -U |
| 20 | +pip install PyQtPurchasing -U |
21 | 21 | ```
|
22 | 22 |
|
23 | | -if pip install PyQtWebKit==5.10.1 failed then do 2 and 3 |
24 | | - |
25 | | -如果 pip 安装PyQtWebKit失败, 可能是PyQt或者Python版本不对, 那么就需要自己编译了, 按照下面2和3 |
26 | | - |
27 | | -2.install QtWebKit [option] 安装QtWebKit [可选] |
| 23 | +### For Windows |
28 | 24 |
|
29 | | -download [QtWebKit](https://github.com/annulen/webkit/releases/) and extract to PYTHONPATH/Lib/site-packages/PyQt5/Qt |
| 25 | +``` |
| 26 | +pip install PyQtWebKit -U |
| 27 | +``` |
30 | 28 |
|
31 | | -下载 [QtWebKit](https://github.com/annulen/webkit/releases/) 并解压到 PYTHONPATH/Lib/site-packages/PyQt5/Qt |
| 29 | +### For Linux |
32 | 30 |
|
33 | | -3.install QtWebKit pyd 复制编译好的QtWebKit |
| 31 | +1. Install Python35+ |
| 32 | +2. Install Qt5.13.1 to ~/Qt5.13.1 |
| 33 | +3. clone https://github.com/PyQt5/PyQtWebKit and run `./build.sh` |
34 | 34 |
|
35 | | -copy .Data/site-packages to PYTHONPATH/Lib/site-packages |
36 | 35 |
|
37 | 36 | ## Notice
|
38 | 37 |
|
|
0 commit comments