[Interest] How to distinguish from iPhone screen type with Qt/Qml
nunosantos at imaginando.pt
Fri Dec 7 00:39:18 CET 2018
Thank you all for sharing your approaches.
I found one approached shared at the end of the following bug report, by David Hess (which requires linking to gui-private) that seemed to me very simple but it is not fully working in my case.
By the way, on initial email subject there was a X missing! Sorry for that! :)
> On 3 Dec 2018, at 12:47, ekke <ekke at ekkes-corner.org> wrote:
> Hi Nuno,
> one way is to detect from pixels
> perhaps this gives you an idea:
> later will use mobile device types to better distinguish between
> different models
> best overview I found here: https://gist.github.com/adamawolf/3048717
> Am 03.12.18 um 13:34 schrieb Nuno Santos:
>> I’m trying to make my iOS apps ready for iPhone X screen as well as the new iPads.
>> How can I distinguish the screen types? Can I do that directly from Qml? How?
>> Thanks in advance!
>> Interest mailing list
>> Interest at lists.qt-project.org
> Interest mailing list
> Interest at lists.qt-project.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Interest