--- a/eric7/UI/CodeDocumentationViewer.py Sun Sep 19 16:13:41 2021 +0200 +++ b/eric7/UI/CodeDocumentationViewer.py Sun Sep 19 16:26:29 2021 +0200 @@ -81,6 +81,12 @@ self.__verticalLayout.setContentsMargins(0, 0, 0, 0) try: + # TODO: remove this workaround once rc0 issue is fixed + # Workaround for a bug in Qt 6.2.0 rc0 on non-Linux + import sys + if not sys.platform.startswith("linux"): + raise ImportError + from PyQt6.QtWebEngineCore import QWebEngineSettings from PyQt6.QtWebEngineWidgets import QWebEngineView self.__contents = QWebEngineView(self)