So I would like to show the output from a network call in CLListbox list control.
Unfortunately, CLListbox takes a ListModel so XmlListModel is out of question.
I also tried to create the model on the C++ side as per this great example:
However, I fail setting the model to the Colibri control (via the "items" attribute):
SearchOptions.qml:182: Unable to assign QDeclarativeListReference to QDeclarativeListModel*
So the Colibri control takes a QDeclarativeListModel instance (it means that the List Model defined by QML uses the QDeclarativeListModel class). However, this class is private so it is not possible to instantiate and populate it on the C++ side.
Is there any workaround to dynamically populate a model for the Colibri list control?
Thanks for any hints!