How to convert QML Object to QImage ?
-
Hi,
How can i get a QImage of a child QML Object ?
Thank you.
-
Hello,
what is the purpose of such feat? If you want to print your view, then take a look at either "QPrinter":http://qt-project.org/doc/qt-5.0/qtprintsupport/qprinter.html or "QQuickWindow::grabWindow() method":http://qt-project.org/doc/qt-5.0/qtquick/qquickwindow.html#grabWindow.
-
Yes i want to print it.
I know how to use QPrinter but i want the QImage of a child QML Item of my view and not all the view.
Thank You.