Re: [Interest] QObjectListModel approach with Qt5 and QML crashes sometimes

2015-02-03 Thread Railway Coder
Hi, issue is solved. I forgot to set a parent for C++ object. QML was able to take ownership of the object. http://doc.qt.io/qt-5/qtqml-cppintegration-data.html Changing object creation to *TestObject *testObject = new TestObject(&myObjectListModel);* solves the problem with the crashes. Git re

[Interest] QObjectListModel approach with Qt5 and QML crashes sometimes

2015-02-02 Thread Railway Coder
Hi, I'm currently writing an application using Qt5 (C++ and QML). It will get a big data backend in C++ which will get updated by different hardware in realtime. To get this data displayed in QtQuick. I found the QObjectListModel approach which was presented on QtDD12: http://qt-project.org/video