Upgrade pyqt5 to pyqt6. … PyQt6 Upgrade #765.