Pyqt5 Pyqt6, exec returns an integer (I just tried it with PyQt6==6.