I have a c++ class that i registerd it in qml , and this class have an model that was inherited from QAbstractListModel
,Now I want this model with a SwipeView
Manager {
id: manager
}
SwipeView {
id: sv
model:manager.listModel /// but it don't have model property
}
but SwipView don't havd a model property? How should id add Pages dynamically to thsi swipeview along with this model?