[Development] Updated high-DPI support for Qt 5.14

Elvis Stansvik elvstone at gmail.com
Fri Sep 13 17:35:59 CEST 2019


Den fre 13 sep. 2019 17:15Thiago Macieira <thiago.macieira at intel.com> skrev:

> On Friday, 13 September 2019 06:43:30 PDT Morten Sørvig wrote:
> > * Environment variables for development and testing:
> >
> > - QT_SCALE_FACTOR                  : enables devicePixelRatio scaling in
> > QtGui, applies a global scale factor. - QT_ENABLE_HIGHDPI_SCALING [new]
> :
> > enables devicePixelRatio scaling in QtGui; applies per-screen scale
> factors
> > computed from on screen DPI. - QT_FONT_DPI [now x-platform]     :
> overrides
> > the DPI for all screens
>
> What happened to QT_AUTO_SCREEN_SCALE_FACTOR and QT_SCREEN_SCALE_FACTORS?
>

I wonder too. I assume they've not been removed? The latter is the one that
KDEs kscreen KCM manipulates AFAIK, and I occasionally use it from command
line for testing. What would be the new way to set per-screen scale factors?

Elvis


> --
> Thiago Macieira - thiago.macieira (AT) intel.com
>   Software Architect - Intel System Software Products
>
>
>
> _______________________________________________
> Development mailing list
> Development at qt-project.org
> https://lists.qt-project.org/listinfo/development
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20190913/9bfedfdd/attachment.html>


More information about the Development mailing list