Description
This is related to issue: https://bugreports.qt.io/browse/PYSIDE-2294
And the changes that were introduced in: https://github.com/pyside/pyside-setup/commit/e8095467f7d0332cc0987e7c541de9906e19fece
There is an object in USD with the inheritance:
ViewSettingsDataModel(QtCore.QObject, StateSource):
When this is initialised thus:
QtCore.QObject.__init__(self) StateSource.__init__(self, parent, "model")
It results in an error:
QtCore.QObject.__init__(self) TypeError:__init__() missing 2 required positional arguments: 'parent' and 'name'
I worked around the issue by reversing the order of inheritance of QtCore.QObject and StateSource with this change: https://github.com/PixarAnimationStudios/USD/pull/2392
I think this points to an error in PySide 6.5.0, but I don't have enough knowledge of the inner workings of Python and PySide to make a call on this.
Attachments
Issue Links
- relates to
-
PYSIDE-2294 TypeError with PySide 6.5.0 for multiple inheritance of MainWindow
- Closed
- resulted from
-
PYSIDE-1564 QObject does not support cooperative multiple inheritance
- Closed