For now I stopped at this solution:
Create QObjectListModel class (QObject) that can setList(QList)
saving list to private variable and doing parent all objects to *this*, and
also getList() for QML. And in QML:
ComboBoxCheck {
property QObjectListModel listModel:
Hi all,
Could someone explain QObject ownershiping aspects, please.
According to
http://doc-snapshots.qt.io/qt5-dev/qtqml-cppintegration-data.html when data
is transferred from C++ to QML, the ownership of the data always remains
with C++. The exception to this rule is when a QObject is returned