- 
    Bug 
- 
    Resolution: Out of scope
- 
     Not Evaluated Not Evaluated
- 
    None
- 
    6.9.0
- 
    None
Starting with PySide6 version 6.9.0, PySide will throw a RuntimeError when using multiple inheritance with a subclass of QDialog.
Minimal reproducible example:
import sys
from PySide6.QtCore import Signal
from PySide6.QtWidgets import QApplication, QDialog, QMainWindowclass 
DialogSubclass(QDialog): ...
class MainWindow(QMainWindow, DialogSubclass):
    test_signal = Signal()
    def __init__(self):
        super().__init__()
        self.test_signal.emit() # throws "RuntimeError: Signal source has been deleted"
if __name__ == "__main__":
    app = QApplication(sys.argv)
    window = MainWindow()
    window.show()
    sys.exit(app.exec())
Note that inheriting from QDialog in MainWindow directly would not throw this error:
... class MainWindow(QMainWindow, QDialog): ...
- duplicates
- 
                    PYSIDE-3121 Multiple inheritance with Python class that inherits from QObject results in Seg fault -           
- Closed
 
-