[Development] Updated high-DPI support for Qt 5.14

Thiago Macieira thiago.macieira at intel.com
Tue Sep 24 17:54:37 CEST 2019


On Monday, 16 September 2019 06:00:27 PDT Morten Sørvig wrote:
> Could KDE possibly set per-screen DPI instead of a scale factor?
> Applications can now use the
> QGuiApplication::setHighDpiScaleFactorRoundingPolicy() API to decide wether
> or not they accept fractional devicePixelRatios (in the cases where Qt
> implements the scaling), which does not match well with having a directly
> set scale factor.

How is setting the DPI different than setting the multiplicative factor that 
was applied to the DPI before? Are you expecting a lot of applications having 
called that function above? Assume there's less than 0.1% of them doing that.

Anyway, what's the correct way to specify now that one of my external monitors 
is highdpi but the other isn't?

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel System Software Products






More information about the Development mailing list