[Interest] Qt Screen.pixelDensity and Android devices
nunosantos at imaginando.pt
Wed Jul 6 19:42:35 CEST 2016
Founder / CEO / CTO
+351 91 621 69 62
> On 06 Jul 2016, at 17:14, Jason H <jhihn at gmx.com> wrote:
> No, but it is supposed to work Any Day Now(tm) (5.7 or 5.8?)
> Sent: Wednesday, July 06, 2016 at 11:32 AM
> From: "Nuno Santos" <nunosantos at imaginando.pt>
> To: "Qt Project MailingList" <interest at qt-project.org>
> Subject: [Interest] Qt Screen.pixelDensity and Android devices
> Qt/Android developers,
> Do you think all devices correctly report Screen.pixelDensity?
> I’m working on a HP 21 Slate and it has a pixel density of around 8.5.
> The display resolution is 1920x1080. Dividing 1920 by 8.5 gives 225mm but the screen has 480mm width.
> I have checked devicePixelRatio and it is one. From documentation, devicePixelRatio is only for Apple screens.
> So… do you think it is possible to consistently find out the size of the screen on all devices?
> _______________________________________________ Interest mailing list Interest at qt-project.org http://lists.qt-project.org/mailman/listinfo/interest <http://lists.qt-project.org/mailman/listinfo/interest>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Interest