--- a/eric7/UI/PythonAstViewer.py Sun May 16 11:43:59 2021 +0200 +++ b/eric7/UI/PythonAstViewer.py Sun May 16 20:07:24 2021 +0200 @@ -10,9 +10,9 @@ import ast -from PyQt5.QtCore import pyqtSlot, Qt, QTimer -from PyQt5.QtGui import QBrush -from PyQt5.QtWidgets import ( +from PyQt6.QtCore import pyqtSlot, Qt, QTimer +from PyQt6.QtGui import QBrush +from PyQt6.QtWidgets import ( QTreeWidget, QTreeWidgetItem, QAbstractItemView, QWidget, QVBoxLayout )