[Development] The behaviour of Image / image provider are different from 5.5.1 to 5.6 in iOS

Ben Lau xbenlau at gmail.com
Tue Apr 12 23:12:24 CEST 2016


On 12 April 2016 at 21:02, Sorvig Morten <Morten.Sorvig at theqtcompany.com>
wrote:

>
> > On 11 Apr 2016, at 12:38, Ben Lau <xbenlau at gmail.com> wrote:
> >
> > Hi,
> >
> > I am writing an image provider that read all the images to memory at
> startup. And I found that the behaviour is different from 5.5.1 to 5.6 in
> iOS. Seems that it is undocumented. I wonder is it an expected behaviour or
> a bug?
>
> Hi, this is indeed a regression in 5.6. We have a fix ready if you want to
> patch your local version of Qt:
>
>         https://codereview.qt-project.org/#/c/155514
>
> Thanks for bringing it up!
> Morten


HI Sorvig,

It is great to hear that! Thx!

So the correct way for a image provider to fit in a High DPI environment is
to set the devicePixelRatio in the returned QImage?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20160413/049f5d0f/attachment.html>


More information about the Development mailing list