--- a/eric7/WebBrowser/UrlBar/UrlBar.py Sun May 16 11:43:59 2021 +0200 +++ b/eric7/WebBrowser/UrlBar/UrlBar.py Sun May 16 20:07:24 2021 +0200 @@ -7,12 +7,12 @@ Module implementing the URL bar widget. """ -from PyQt5.QtCore import pyqtSlot, Qt, QPointF, QUrl, QDateTime, QTimer, QPoint -from PyQt5.QtGui import QColor, QPalette, QLinearGradient, QIcon -from PyQt5.QtWidgets import QDialog, QApplication -from PyQt5.QtWebEngineWidgets import QWebEnginePage +from PyQt6.QtCore import pyqtSlot, Qt, QPointF, QUrl, QDateTime, QTimer, QPoint +from PyQt6.QtGui import QColor, QPalette, QLinearGradient, QIcon +from PyQt6.QtWidgets import QDialog, QApplication +from PyQt6.QtWebEngineWidgets import QWebEnginePage try: - from PyQt5.QtNetwork import QSslCertificate # __IGNORE_EXCEPTION__ + from PyQt6.QtNetwork import QSslCertificate # __IGNORE_EXCEPTION__ except ImportError: QSslCertificate = None # __IGNORE_WARNING__