Again: create the model in C++, export an instance of it to QML via setContextProperty.

Cheers,
_