Font size in Qt Creator is too small

5,228

openjdk-9-jdk has been replaced by openjdk-11-jdk in Ubuntu 18.04. To install it open the terminal and type:

sudo apt update  
sudo apt upgrade  
sudo apt install openjdk-11-jdk  

I don't expect this will fix the font size problem because Qt Creator doesn't have any Java version as a dependency.

My fonts in Qt Creator look OK with the following preferences.

  1. Open Qt Creator.

  2. Select Tools -> Options.

  3. From the left pane of the Options window select Text Editor as shown in the below screenshot.

  4. Select Fonts & Colors tab.

  5. Under the Font heading after where it says Family: select Source Code Pro from the dropdown menu as marked by the mouse cursor in the below screenshot. After where it says Size: select 10 from the dropdown menu. Font size 10 is the best font size in my Qt Creator. If the font size still looks too small after continuing through the steps to step 6, select 11 or 12 instead of 10 from the dropdown menu.

  6. Click the Apply button and then click the OK button to save the changes.

enter image description here

Share:
5,228

Related videos on Youtube

raltok
Author by

raltok

Updated on September 18, 2022

Comments

  • raltok
    raltok over 1 year

    I am trying to install Java 9 on Ubuntu 18.04 as I heard it could work as a solution for super small font of Qt Creator.

    However, when I type in the terminal:

    sudo apt install openjdk-9-jdk
    

    I get the below error:

    Unable to locate package openjdk-9-jdk
    
  • raltok
    raltok over 5 years
    That worked, even if the font issue with Qt Creator looks unresolved
  • karel
    karel over 5 years
    I edited my answer with the steps required to resolve the super small font size problem in Qt Creator.
  • raltok
    raltok over 5 years
    I managed to solve the environment as well by enabling "High DPI Scaling", seems OK now
  • Moses
    Moses over 5 years
    this helped my font issues other QT apps like Robo 3T (robomongo)