scripts/install.py

changeset 7185
af8e89a7a51d
parent 7178
43e994af5ee0
child 7192
a22eee00b052
child 7210
8fe313d039e6
--- a/scripts/install.py	Fri Aug 30 18:56:45 2019 +0200
+++ b/scripts/install.py	Fri Aug 30 19:00:38 2019 +0200
@@ -1531,6 +1531,15 @@
                     "PyQtWebEngine could not be detected.\nError: {0}"
                     .format(msg)
                 )
+        
+        try:
+            from PyQt5 import QtChart    # __IGNORE_WARNING__
+        except ImportError as msg:
+            installed = pipInstall(
+                "PyQtChart",
+                "PyQtChart could not be detected.\nError: {0}"
+                .format(msg)
+            )
     
     try:
         if pyqtVariant == "PyQt4":

eric ide

mercurial