Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.11.0, 5.12.4
-
None
Description
I'm trying to write a more generic subclass of QAbstractListModel which only needs the roles and the data as a list.
This works fine if I'm using dict as model data. But using a QObject as model data somehow breaks QML.
Please see the attached example. It fails with the error:
QQmlExpression: Expression file:///...bug.qml:17:23 depends on non-NOTIFYable properties:
QQmlDMObjectData::name
The exact same code without an additional subclass (`ConcreteModelWorking`) works.