[SOLVED] Qt Fatal Segmentation Fault when accessing QList from qml
General and Desktop
3
Posts
2
Posters
1.7k
Views
2
Watching
-
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();
?