eric7/Tools/webBrowserSupport.py

branch
eric7
changeset 8318
962bce857696
parent 8312
800c432b34c8
child 8881
54e42bc2437a
--- a/eric7/Tools/webBrowserSupport.py	Sun May 16 11:43:59 2021 +0200
+++ b/eric7/Tools/webBrowserSupport.py	Sun May 16 20:07:24 2021 +0200
@@ -17,7 +17,7 @@
 variant = "None"
 
 with contextlib.suppress(ImportError):
-    from PyQt5 import QtWebEngineWidgets    # __IGNORE_WARNING__
+    from PyQt6 import QtWebEngineWidgets    # __IGNORE_WARNING__
     variant = "QtWebEngine"
 
 print(variant)      # __IGNORE_WARNING_M801__

eric ide

mercurial