Hi Mark,
In Qt4, QtQuick items are a subclass of QDeclarativeItem.
QDeclarativeItem has a member function:
QGraphicsScene * QGraphicsItem::scene () const
which returns the scene your item is created in,
Scene itself has a member function:
QList<QGraphicsView *> QGraphicsScene::views () const
which returns the views that are rendering the scene.
your QmlViewer is probably a subclass of the first item in this QList ?
↧