--- a/eric7/eric7.py Sun Sep 19 16:13:41 2021 +0200 +++ b/eric7/eric7.py Sun Sep 19 16:26:29 2021 +0200 @@ -42,9 +42,12 @@ " it is installed and accessible.") sys.exit(100) -with contextlib.suppress(ImportError): - from PyQt6 import QtWebEngineWidgets - # __IGNORE_WARNING__ __IGNORE_EXCEPTION__ +# TODO: remove this workaround once rc0 issue is fixed +# Workaround for a bug in Qt 6.2.0 rc0 on non-Linux +if sys.platform.startswith("linux"): + with contextlib.suppress(ImportError): + from PyQt6 import QtWebEngineWidgets + # __IGNORE_WARNING__ __IGNORE_EXCEPTION__ # some global variables needed to start the application args = None