Your problem comes from using QDeclarativeItem in a QGraphicsScene.
While a Qt4 QtQuick Scene is essentially a QGraphicsScene, it is very hacky to then use that quick scene as if it where a normal QGraphicsScene.
If your only use case for using the declarative engine is to have a model/view access API, I would recommend using standard QGraphicsScene and just doing the model access yourself.
If you are using the declarative framework for the actual item construction, I would recommend not interacting with the QGraphicsScene from C++. This will then nicely map to using Qt5 QtQuick.
You would be using the QQuickWidget instead of the QGraphicsView, not as a part of itNow we used QQuickWidget and added it directly in QGraphicsscene
Cheers,
_
Bookmarks