provide QApplication.exec() for PySide6 6.0
This commit is contained in:
parent
2dad9862cb
commit
3eb69e6d9b
@ -334,6 +334,10 @@ if QT_LIB == PYSIDE6:
|
||||
self.setColorAt(pos, color)
|
||||
QtGui.QGradient.setStops = __setStops
|
||||
|
||||
if not hasattr(QtWidgets.QApplication, 'exec'):
|
||||
# PySide6 6.0 forwards compatibility to PySide6 6.1
|
||||
QtWidgets.QApplication.exec = QtWidgets.QApplication.exec_
|
||||
|
||||
|
||||
if QT_LIB == PYQT6:
|
||||
# module.Class.EnumClass.Enum -> module.Class.Enum
|
||||
|
Loading…
Reference in New Issue
Block a user