Hi, 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. https://bugreports.qt.io/browse/QTBUG-64574 <https://bugreports.qt.io/browse/QTBUG-64574> By the way, on initial email subject there was a X missing! Sorry for that! :) Best regards, Nuno > On 3 Dec 2018, at 12:47, ekke <[email protected]> wrote: > > Hi Nuno, > one way is to detect from pixels > > perhaps this gives you an idea: > https://github.com/ekke/c2gQtWS_x/blob/master/cpp/unsafearea.cpp > > later will use mobile device types to better distinguish between > different models > best overview I found here: https://gist.github.com/adamawolf/3048717 > > ekke > Am 03.12.18 um 13:34 schrieb Nuno Santos: >> Hi, >> >> 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! >> >> Regards, >> >> Nuno >> _______________________________________________ >> Interest mailing list >> [email protected] >> https://lists.qt-project.org/listinfo/interest > > _______________________________________________ > Interest mailing list > [email protected] > https://lists.qt-project.org/listinfo/interest
_______________________________________________ Interest mailing list [email protected] https://lists.qt-project.org/listinfo/interest
