diff -r 0c7a44af84bc -r 962bce857696 eric7/WebBrowser/WebBrowserPage.py --- a/eric7/WebBrowser/WebBrowserPage.py Sun May 16 11:43:59 2021 +0200 +++ b/eric7/WebBrowser/WebBrowserPage.py Sun May 16 20:07:24 2021 +0200 @@ -8,23 +8,23 @@ Module implementing the helpbrowser using QWebView. """ -from PyQt5.QtCore import ( +from PyQt6.QtCore import ( pyqtSlot, pyqtSignal, QUrl, QUrlQuery, QTimer, QEventLoop, QPoint, QPointF, QT_VERSION ) -from PyQt5.QtGui import QDesktopServices -from PyQt5.QtWebEngineWidgets import ( +from PyQt6.QtGui import QDesktopServices +from PyQt6.QtWebEngineWidgets import ( QWebEnginePage, QWebEngineSettings, QWebEngineScript ) try: - from PyQt5.QtWebEngine import PYQT_WEBENGINE_VERSION + from PyQt6.QtWebEngine import PYQT_WEBENGINE_VERSION # __IGNORE_EXCEPTION__ except (AttributeError, ImportError): PYQT_WEBENGINE_VERSION = QT_VERSION -from PyQt5.QtWebChannel import QWebChannel +from PyQt6.QtWebChannel import QWebChannel try: - from PyQt5.QtNetwork import QSslConfiguration, QSslCertificate + from PyQt6.QtNetwork import QSslConfiguration, QSslCertificate SSL_AVAILABLE = True except ImportError: SSL_AVAILABLE = False @@ -583,7 +583,7 @@ @param request reference to the registration request @type QWebEngineRegisterProtocolHandlerRequest """ - from PyQt5.QtWebEngineCore import ( + from PyQt6.QtWebEngineCore import ( QWebEngineRegisterProtocolHandlerRequest )