[SOLVED] Qt Fatal Segmentation Fault when accessing QList from qml
-
Hi,
Something's not clear with your code, you return a
QQmlListProperty<MyObject>
while mMyObjectsList is aQQmlListProperty<MyObject*>
.Also why are you calling
(&mMyObjects)->values();
and notmMyObjects.values();
? -
Hi,
Something's not clear with your code, you return a
QQmlListProperty<MyObject>
while mMyObjectsList is aQQmlListProperty<MyObject*>
.Also why are you calling
(&mMyObjects)->values();
and notmMyObjects.values();
?