Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Qt Creator 4.14 cannot get correct pixel density.



  • I start qt creator by command below:

    set QT_AUTO_SCREEN_SCALE_FACTOR=1
    C:\Programs\QtCreator\bin\qtcreator.exe
    

    or

    set QT_ENABLE_HIGHDPI_SCALING=1
    C:\Programs\QtCreator\bin\qtcreator.exe
    

    The ui in qt creator is magnified to 2 times, and all widgets look very large.
    It looks like Qt Creator is not getting the right pixel density ( I think it's 1.5 times).
    how to solve the problem?
    Thanks a lot.


Log in to reply