[Interest] QML Mobile controls

Nurmi J-P jpnurmi at digia.com
Wed Jun 11 17:18:50 CEST 2014


On 11 Jun 2014, at 16:44, Ben Lau <xbenlau at gmail.com> wrote:
> 
> btw , I have another question for the solution. How will it handle the DP unit? 
> 
> Since the scaling using devicePixelRatio is still not implemented in Android yet (QTBUG-38252) , I wonder what should user do to make their application fit with DP after Qt 5.3.
> 

Qt will extract appropriate style attributes from the platform using native APIs. Controls will use image assets extracted from the device, and any "dimensional" attributes are queried as pixel sizes. This means that controls should take care of scaling themselves as appropriate.

--
J-P Nurmi




More information about the Interest mailing list