xsession: force HiDPI for recent QT5

This commit is contained in:
Vincent Bernat 2025-02-23 07:54:24 +01:00
parent 7451d0937c
commit 008dc67776

View file

@ -16,6 +16,7 @@ export MAILCAPS=$HOME/.mailcap
# Qt HiDPI (https://doc.qt.io/qt-6/highdpi.html)
export QT_AUTO_SCREEN_SCALE_FACTOR=1
export QT_ENABLE_HIGHDPI_SCALING=1
export QT_SCALE_FACTOR_ROUNDING_POLICY=PassThrough
# Qt theme
export QT_QPA_PLATFORMTHEME=qt5ct