mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 08:46:37 -04:00
Merge pull request #278 from glutanimate/pyqt512-packaging-changes
Address PyPI PyQt 5.12 packaging changes
This commit is contained in:
commit
63061f087e
2 changed files with 2 additions and 2 deletions
|
@ -28,7 +28,7 @@ pyqt5-dev-tools) as well.
|
|||
If you're on another platform or your distro has the wrong Qt version, you
|
||||
can install PyQt with pip:
|
||||
|
||||
$ pip3 install sip pyqt5
|
||||
$ pip3 install PyQt5 PyQtWebEngine
|
||||
|
||||
To use the development version:
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ from anki.utils import isWin, isMac
|
|||
from PyQt5.Qt import *
|
||||
# trigger explicit message in case of missing libraries
|
||||
# instead of silently failing to import
|
||||
from PyQt5.QtWebEngineWidgets import QWebEnginePage
|
||||
from PyQt5.QtWebEngineWidgets import *
|
||||
try:
|
||||
from PyQt5 import sip
|
||||
except ImportError:
|
||||
|
|
Loading…
Reference in a new issue