Qt 5.6+ - Application Scaling
Dec 7, 2016

With a HiDPI display, most Qt5 applications do not scale at all. Qt Creator in particular does not. This is a little annoying but can be solved by setting an environment variable. For my display, scaling by 2 is slightly too large but it’s better than having no scaling or blurry text.

Inside ~/.profile and ~/.pam_environment

export QT_SCALE_FACTOR=2

This will scale Qt applications that support it by a factor of 2. Decimals can be used but then you end up with blurry text which probably is not worth it. After applying this change I noticed a few applications that now scale correctly: Bitcoin Qt and Synergy.

Comments