$ 0 0 grabWindow and then cut the image grabbed. http://qt-project.org/doc/qt-5/qquickwindow.html#grabWindow