Qt 6.8
Qt Quick
Models and Views: Object ListModel Example
Qt 6.8.1 Reference Documentation
Models and Views: Object ListModel Example
Shows how to use a QList<QObject*> as a model in QML.
Example project @ code.qt.io