- 
    Bug 
- 
    Resolution: Out of scope
- 
    P4: Low 
- 
    None
- 
    6.x, 6.2.0, 5.15.15
- 
    None
- 
        
- 
        1a8923df9 (dev), 97b3ce600 (6.6)
When trying to subclass QPaintDeviceWindow from python the application throws an exception when trying to instantiate the new subclass:
TypeError: PySide6.QtGui.QWindow isn't a direct base class of <name-of-my-subclass>
This is 100% reproducible by simply creating a new class that inherits from PySide6.QtGui.QPaintDeviceWindow even if the class has as little code as this:
class CustomWindow(PySide6.QtGui.QPaintDeviceWindow):
  pass
See the sample.py for a full code example.
for a full code example.
class Q_GUI_EXPORT QPaintDeviceWindow : public QWindow, public QPaintDevice
similar to
class Q_WIDGETS_EXPORT QWidget : public QObject, public QPaintDevice
- relates to
- 
                    PYSIDE-1991 Multiple Inheritance segfault on PyPySide -         
- Reported
 
-         
- 
                    PYSIDE-1564 QObject does not support cooperative multiple inheritance -         
- Closed
 
-         
| For Gerrit Dashboard: PYSIDE-2506 | ||||||
|---|---|---|---|---|---|---|
| # | Subject | Branch | Project | Status | CR | V | 
| 514122,8 | shiboken6: Refactor multiple inheritance offset calculation | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 | 
| 514266,2 | shiboken6: Refactor multiple inheritance offset calculation | 6.6 | pyside/pyside-setup | Status: MERGED | +2 | 0 |