Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. How to change the UI font in Qt Creator (not Text Editor font, but for Qt Creator itself)?
Qt 6.11 is out! See what's new in the release blog

How to change the UI font in Qt Creator (not Text Editor font, but for Qt Creator itself)?

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
4 Posts 2 Posters 1.3k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    Robert Hairgrove
    wrote on last edited by
    #1

    This is a relatively fresh install of Ubuntu 24.04 LTS running Xorg with Qt Creator 17.0.1...

    I am OK with the fonts except when bold font is used ... I find them fuzzy and hard-to-read on my system.

    Here is a screenshot of what I mean (the text in the red circles):
    prefs.png

    How would I go about changing this? Is it a Gnome thing? Anti-aliasing?

    cristian-adamC 1 Reply Last reply
    0
    • R Robert Hairgrove

      This is a relatively fresh install of Ubuntu 24.04 LTS running Xorg with Qt Creator 17.0.1...

      I am OK with the fonts except when bold font is used ... I find them fuzzy and hard-to-read on my system.

      Here is a screenshot of what I mean (the text in the red circles):
      prefs.png

      How would I go about changing this? Is it a Gnome thing? Anti-aliasing?

      cristian-adamC Offline
      cristian-adamC Offline
      cristian-adam
      wrote on last edited by
      #2

      @Robert-Hairgrove currently the only way you can do this is by using a stylesheet file:

      qtcreator -stylesheet style.css
      

      And such a style sheet file would look like:

      QWidget
      {
          font: 14pt "SF Pro";
      }
      
      R 1 Reply Last reply
      2
      • cristian-adamC cristian-adam

        @Robert-Hairgrove currently the only way you can do this is by using a stylesheet file:

        qtcreator -stylesheet style.css
        

        And such a style sheet file would look like:

        QWidget
        {
            font: 14pt "SF Pro";
        }
        
        R Offline
        R Offline
        Robert Hairgrove
        wrote on last edited by
        #3

        @cristian-adam Thank you!

        Having tried your suggestion, which does affect the font used for most of the UI, I noticed that some elements which were originally in bold font now are displayed in regular font.

        Is there a way perhaps to download the default style sheet used by Qt Creator so that a more fine-grained solution can be achieved?

        cristian-adamC 1 Reply Last reply
        1
        • R Robert Hairgrove

          @cristian-adam Thank you!

          Having tried your suggestion, which does affect the font used for most of the UI, I noticed that some elements which were originally in bold font now are displayed in regular font.

          Is there a way perhaps to download the default style sheet used by Qt Creator so that a more fine-grained solution can be achieved?

          cristian-adamC Offline
          cristian-adamC Offline
          cristian-adam
          wrote on last edited by
          #4

          @Robert-Hairgrove Qt Creator doesn't use such a stylesheet. But you can achieve this task.

          If you search this forum after "stylesheet" you will find some threads about this, how people tried to customize things back in the day 😀

          1 Reply Last reply
          2

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved