Qt World Summit: Register Today!

How to insert a GraphicsView into QML

  • I have designed my GUI with QML and assigned a rectangle in it for image window. I would like to design GraphicsView object and replace the rectangle in QML. I tried to subclass from GraphicsView and set QML QDeclarativeView as a parent, but the GraphicsScene is always at the left upper corner. What is best way to implment it?

Log in to reply