On 29 Nov 2021, at 23:43, Thiago Macieira <[email protected]<mailto:[email protected]>> wrote: On Monday, 29 November 2021 13:20:58 PST Tor Arne Vestbø wrote: If you know that the physical DPI being reported is correct you can use QT_USE_PHYSICAL_DPI to override the behavior as documented. I did, but that makes no difference: $ QT_USE_PHYSICAL_DPI=1 ~/obj/qt/installed/bin/qtdiag | grep DPI QT_USE_PHYSICAL_DPI="1" Screens: 2, High DPI scaling: active Physical DPI: 120.118,120 Logical DPI: 96,96 Subpixel_None High DPI scaling factor: 2 DevicePixelRatio: 2 Physical DPI: 120.118,120 Logical DPI: 96,96 Subpixel_None High DPI scaling factor: 2 DevicePixelRatio: 2 The priority matters, so perhaps you have set one of the other things we might pick up? Xft/DPI or Xft.dpi? https://doc-snapshots.qt.io/qt6-dev/highdpi.html#configuring-x11 Cheers, Tor Arne
_______________________________________________ Development mailing list [email protected] https://lists.qt-project.org/listinfo/development
