QQuickItem::grabToImage() do not work in iPhone
-
Hi ,
I am using QQuickItem::grabToImage() to convert a QQuickItem into image. It is working in Mac OS X, Android , and iOS simulator. However, it don't work in iPhone (tested with iOS8 in iPhone6+). The size of QImage should be correct , but the content is empty.
Anyone know how to fix it? Any hints / advises will be highly welcomed. I don't mind to re-implement a grabToImage() using private API. (I did similar thing in Qt 5.3) But now I don't have any idea what is wrong with it.
-
Hi,
This might be related to QTBUG-44450
-
I am seeing the same problem. I do not get a correct QImage back from the grabToImage() call on device with ios, but it works fine in the simulator. The image is black on device.
-
This is still happening in the 5.5 beta.
-
The proper place to report that is the bug tracker
-
I think this issue already have been reported as QTBUG45902.
Might be a good idea to vote for it to show its importance.