Draw QImage in QQuickWindow::beforeRendering
I've got a QML script running and a slot is connected to my QQuickWindow::beforeRendering() signal. How can I draw the contents of a QImage onto the QQuickWindow's area? I want this QImage be e.g. a picture of a video and the rest of the rendering shall present the GUI on top of it.