Qt 6.3
Qt Quick
Models and Views: Object ListModel Example
Qt 6.3.2 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