QQuickItem::grabToImage() not working on iOS for me either in 5.4.0 and 5.4.1. Here’s a bug report, please up-vote if it’s important to you: https://bugreports.qt.io/browse/QTBUG-44450. Regarding work-around: perhaps get a 2D context in a Canvas object and paint the object in onPaint()? This is something I’ve been meaning to try.
Regards, Mike From: interest-bounces+mnelson=sutron....@qt-project.org [mailto:interest-bounces+mnelson=sutron....@qt-project.org] On Behalf Of Ben Lau Sent: Wednesday, March 11, 2015 6:54 AM To: Brian Dentino Cc: interest@qt-project.org Interest Subject: Re: [Interest] QQuickGrabItemResult on iOS On 17 October 2014 at 10:11, Brian Dentino <brian.dent...@gmail.com<mailto:brian.dent...@gmail.com>> wrote: Has anyone had any success using QQuickItem::grabToImage on iOS? I'm using it successfully on OSX and android, and it works perfectly fine in the iOS simulator (iOS 7 and 8), but when I run on an iOS device, the images come up empty. I've tried on both an iPad 2 and an iPhone 5s (both running iOS 8), but I don't have access to any devices with iOS 7. Any advice on how to root-cause this? Thanks, Brian _______________________________________________ Interest mailing list Interest@qt-project.org<mailto:Interest@qt-project.org> http://lists.qt-project.org/mailman/listinfo/interest Hi Brain, I have got the same problem. The grabToImage() do not works with iOS 8. It works only in simulator. Did you found any solution to fix it?
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest