[Development] Qt on iOS retina display

Gianluca gmaxera at gmail.com
Fri Apr 10 15:09:44 CEST 2015


Hello Martin,
it’s not Qt … it’s iOS world that works in this way !!
Even if you develop in fully native iOS with SDK, you can access only to the “virtual” resolution of the screen that it’s always the same for the same devices family and then change the pixel ratio.
So, for all iPads, even in fully native iOS you alway get the resolution of 1024x768, and you’ve never access to the real resolution.

The funny thing happens with iPhone 6 Plus that it’s very absurd. Because the “virtual” resolution is not even a perfect integer division of the real pixel resolution :-)
That’s the strangeness of the iOS world; Welcome !

Ciao,
Gianluca.


Il giorno 10/apr/2015, alle ore 14:57, Martin Koller <kollix at aon.at> ha scritto:

> Hi all,
> 
> I'm porting our app to iOS and can already run it on an iPad Air which should
> have 2048-by-1536 resolution at 264 pixels per inch.
> However Qt (5.4.1) only tells me it has 132 dpi and 1024x768 pixels.
> This seems to have something to do with the device pixel ratio which it tells
> me is 2
> 
> Since I'm completely new to the Apple world (and still could manage to run a Qt app
> on it - hooray, thanks Qt!!), can somebody tell me if I can do something in
> whatever settings or my app to have the full resolution or is it just like that ?
> 
> -- 
> Best regards/Schöne Grüße
> 
> Martin
> A: Because it breaks the logical sequence of discussion
> Q: Why is top posting bad?
> 
> ()  ascii ribbon campaign - against html e-mail 
> /\                        - against proprietary attachments
> 
> Geschenkideen, Accessoires, Seifen, Kulinarisches: www.lillehus.at
> _______________________________________________
> Development mailing list
> Development at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development




More information about the Development mailing list