[Development] Bringing Qt's high-dpi support to more platforms

Sorvig Morten Morten.Sorvig at digia.com
Tue May 27 10:24:53 CEST 2014


On 26 May 2014, at 22:40, Daiwei Li <daiweili at gmail.com> wrote:

> I took a stab at adding high DPI support to Android and created a review here: https://codereview.qt-project.org/#change,86260. I would appreciate any feedback (e.g. what tests need to be added, what other corner cases need to scaled, etc...), especially seeing as I'm not an Android or Qt HiDPI expert :).

This is how it works according to my understanding as well. Android has  device-independent pixels on the XML side only (“512dp”). The Java API takes device pixels and needs scaling.

The question is: We’re going to have scaling in QtGui with change https://codereview.qt-project.org/#change,86107. Do we want to duplicate it in the Android platform plugin?

Morten




More information about the Development mailing list