install.py

changeset 6636
7ae6bdeb363d
parent 6594
7ecac3b1c7aa
child 6637
54a92e8dca00
--- 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__

eric ide

mercurial