Sun, 16 Dec 2018 17:48:09 +0100
install: added test for PyQtWebEngine as of PyQt v5.12.
install.py | file | annotate | diff | comparison | revisions |
--- a/install.py Sun Dec 16 16:38:09 2018 +0100 +++ b/install.py Sun Dec 16 17:48:09 2018 +0100 @@ -1463,6 +1463,15 @@ exit(1) print("Found {0}".format(pyuic)) + if pyqtVariant != "PyQt4": + try: + from PyQt5 import QtWebEngineWidgets # __IGNORE_WARNING__ + except ImportError as msg: + installed = pipInstall( + "PyQtWebEngine", + "PyQtWebEngine could not be detected.\nError: {0}".format(msg) + ) + try: if pyqtVariant == "PyQt4": from PyQt4 import Qsci # __IGNORE_WARNING__