eric7/eric7_browser.py

branch
eric7
changeset 8617
3ea0b67205b6
parent 8616
651cc4e319fb
child 8631
b2c4c2f3fda7
--- a/eric7/eric7_browser.py	Sun Sep 19 16:13:41 2021 +0200
+++ b/eric7/eric7_browser.py	Sun Sep 19 16:26:29 2021 +0200
@@ -36,6 +36,11 @@
         sys.argv.remove(arg)
 
 try:
+    # TODO: remove this workaround once rc0 issue is fixed
+    # Workaround for a bug in Qt 6.2.0 rc0 on non-Linux
+    if not sys.platform.startswith("linux"):
+        raise ImportError
+    
     from PyQt6 import QtWebEngineWidgets    # __IGNORE_WARNING__
 except ImportError:
     if "--quiet" not in sys.argv:

eric ide

mercurial