Search code examples
qtqt5qt-creator

QT Creator:how to change the menu font size?


I use QT Creator on surface pro4 and the font of menu is too small: enter image description here

what should i do to change the font size?

version:5.5


Solution

  • There is no such option. You have to modify the DPI scaling of windows, which will make all "legacy" shell applications appear larger to compensate for the high DPI of the device.

    If you don't want to modify the settings, you might want to try running creator with an QT_SCALE_FACTOR=2 env var or so.

    Create a startScaled.cmd in creator's exe directory with the content:

    @echo off 
    set QT_SCALE_FACTOR=2
    qtcreator.exe
    

    And use this to start creator up-scaled.