Details
-
Bug
-
Resolution: Out of scope
-
Not Evaluated
-
None
-
6.6.1
-
None
Description
The following contrived example
import sys from PySide6.QtWidgets import QApplication, QWidget, QFrame class A(QWidget): def __init__(self, **kwargs) -> None: super().__init__(**kwargs) self.updateGeometry() class B(A, QFrame): def __init__(self, **kwargs): super().__init__(**kwargs) #self.updateGeometry() if __name__ == '__main__': app = QApplication(sys.argv) B() sys.exit(app.exec())
causes the following error
Process finished with exit code -1073741819 (0xC0000005)
when executing either one of the
self.updateGeometry()
Changing the superclass of A to QWidget or the superclass of B to QFrame causes the error to disappear.
Attachments
Issue Links
- relates to
-
PYSIDE-1564 QObject does not support cooperative multiple inheritance
- Closed