Hey Joel Thanks the code lines: QGraphicsScene* scene = new QGraphicsScene(this); ui->GVpreview->setScene(scene); fixed the issue as I don't know how to do the scene view bit in the form editor.