[Interest] Painting with QPainter to QPixmap in C++ method invoked from QML
Igor Mironchik
igor.mironchik at gmail.com
Wed Sep 12 09:40:08 CEST 2018
Hello.
Let's say I have C++ code to draw to QPixmap with QPainter.
This code returns data:image/png;base64,... string that can be used in QML.
But when I invoke this method from QML I've got
QPainter::begin: Paint device returned engine == 0, type: 2
So my question is how can I draw with QPainter in back-end from QML?
More information about the Interest
mailing list