Search code examples
windowsqtqt-creatorhidpiqt5.10

Qt Creator "too big" on 3840x2160 and 150% scaling on Windows 10


I installed Qt 5.10 SDK on Windows 10. I thought that the HiDPI issues were fixed in Qt 5.6, but Qt Creator still seems to be "too big":

enter image description here

Am I missing something? My resolution is 3840x2160 with the "recommended" 150% scaling. Visual Studio in the background is of the correct size.


Solution

  • I guess the default HighDpiScaleFactorRoundingPolicy of QtCreator is Round. so you can only scale to 1 or 2 not 1.5.

    The correct solution is set the environment variable:

    export QT_SCALE_FACTOR_ROUNDING_POLICY=PassThrough
    ./qtcreator.exe