[Interest] Convert QQuickItem into image

Liang Qi cavendish.qi at gmail.com
Thu Jun 5 10:48:05 CEST 2014


That was done,
https://github.com/qtproject/qtdeclarative/commit/0cb12e9e01b8309320706fab219945f0ff159413

http://doc-snapshot.qt-project.org/qt5-dev/qquickitem.html#grabToImage

Regards,
Liang


On 5 June 2014 10:15, Ben Lau <xbenlau at gmail.com> wrote:

> hi,
>
> I am writing an application that needs to convert a QML component within a
> Flickable into image. As the size can be larger than the Flickable.
> Therefore ,QQuickView::grabWindow() do not work in this case.
>
> Any alternative method to paint a QQuickItem into image? Any tips will be
> welcome. I may try to make an implementation.
>
> Thank.
>

-- 
http://www.qiliang.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20140605/ec2d24dc/attachment.html>


More information about the Interest mailing list