How to change the UI font in Qt Creator (not Text Editor font, but for Qt Creator itself)?
-
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):

How would I go about changing this? Is it a Gnome thing? Anti-aliasing?
-
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):

How would I go about changing this? Is it a Gnome thing? Anti-aliasing?
@Robert-Hairgrove currently the only way you can do this is by using a stylesheet file:
qtcreator -stylesheet style.cssAnd such a style sheet file would look like:
QWidget { font: 14pt "SF Pro"; } -
@Robert-Hairgrove currently the only way you can do this is by using a stylesheet file:
qtcreator -stylesheet style.cssAnd such a style sheet file would look like:
QWidget { font: 14pt "SF Pro"; }@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-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?
@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 😀