How do I change the system font for QtCreator?



  • I have searched and this seems to be an issue forever. The only thing I have seen is to change my Windows scaling factor, which I REALLY DO NOT WANT TO DO. I have my system the way I want. Any app that has a font too small, they typically allow it to be changed.

    Are there any actual QT developers reading the frequent requests for this simple thing? They allow me to set the Editor font and it is perfect, but ALL of the other text is way too tiny.

    Interestingly the results of the search are the size I set for the editor, but all other text and icons are very small.

    I have this feeling that someone is lazy or being stubborn, or both. Qt allows me (supposedly) to design any sort of GUI I want and gives me full control over the sizing of everything. If the Qt developers cannot do something as simple as allow me to change the system font in use, does it mean that Qt cannot do it?

    If the answer is that Qt cannot do it, then it is time to check another Cross Platform toolset. If the answer is that the Qt developers cannot do it, then some new developers are needed. Seriously. And QUICKLY.

    I really dislike that my first post here is so scathing and negative, but WTF? People have brought this up for years and NOTHING has been done. WHY?!1_1533661281787_Qt-2.png 0_1533661281787_Qt-1.png


  • Lifetime Qt Champion

    Hi,

    If you want to reach Qt Creator’s developers/maintainers, you should post your message on the Qt Creator mailing list. This forum is more user oriented.


  • Qt Champions 2017

    hi @lonnie

    I really dislike that my first post here is so scathing and negative, but WTF?

    full ack

    People have brought this up for years and NOTHING has been done. WHY?!

    where has this been brought up? if its not at bugreports.qt.io, it does not exist. dot.

    Btw, feel free to add the missing function yourself. Creator is open source after all.



  • @aha_1980 According to the search results, people have filed bug reports. Maybe they are lying and I would be the first one to find this a rather severe shortcoming.

    Sure, I have the time to learn about QtCreator and add a function to it. NOT. Open Source has limitations when something is large and complex. No way would I ever turn a newbie loose on it. Plus we both know that the minute I touch ONE line of code any support is DONE because I have made some custom mod.

    No, this is a job for the Qt support programmers.



  • @SGaist I think it is terrible if the developers have no clue what goes on in this "user" oriented forums. Any programmer on a project should want as much user feedback as possible. Otherwise they are in a very dark vacuum . And maybe they are.

    The Q&A here is a very good indicator of how well they are doing.


  • Lifetime Qt Champion

    As said before: the forum is for Qt users aka people using Qt to develop their own applications/libraries/devices. Majority of the questions here are on how to do something with Qt. Sometimes bugs are discovered and discussed here then people can open reports on the bug report system which make things official there and for all Qt developer to find and act upon.

    Some forum members happen to also develop Qt but that's basically a happy coincidence.

    To reach Qt developers/maintainers directly, you have the various dedicated mailing lists which are the official channels to reach them.


  • Moderators

    @lonnie said in How do I change the system font for QtCreator?:

    Plus we both know that the minute I touch ONE line of code any support is DONE

    I'm not sure what support you mean. Do you have a commercial license?

    "No, this is a job for the Qt support programmers" - this is not how open source works. You can provide a patch to fix an issue in open source software (in Qt or QtCreator as well). Or file a bug report or comment on existing bug report.

    In general your posts here sound quite harsh. You get Qt/QtCreator for free and support in this forum (people here are volunteers). Something is not like it should be (here I agree with you) and you go to this forum and write such posts? How is this going to help anybody? You should go to the developers mailing lists and Qt bug tracker as @SGaist already said several times and ask there for a solution instead of writing such posts. Just my opinion...
    I don't think Qt devs need to read all these user forum posts to find out what Qt users want. This is way too time consuming and there is already easy and well organized way to tell Qt devs what one wants/needs: Qt bug tracker.
    By the way what QtCreator version do you use?


  • Banned

    This post is deleted!


  • @jsulm I am in contact with the sales people. During my conversion of a C# program I will have zero revenue and it was suggested I could use the GPL tools. When I am ready to provide samples to testers then I would have buy a license under their startup program.

    Yes, my posts are quite harsh. Apparently this font size issue has been a problem for more than 8 years (Google search), and several people claim to have filed a bug report. Maybe they are liars. In any event I don't consider this to be a bug, but more of a serious deficiency requiring a feature add-on.

    It would seem this is going no where. To fall back to the old "it is GPL" is a lame excuse for being too lazy to do their job.

    Any Qt programmer who is NOT in touch with users and aware of their wants and needs is really a dead weight. The very first thing I was taught is to find out what the user wants and to do my utmost to give it to them. How on earth can they program and have no clue what the users want and need? What target are they trying to hit? How do they measure if they actually hit it?

    Sure this is GPL but the goal is to up sell to commercial licenses. How else do they get a monthly pay cheque?

    For the record, I am 64 and my eye sight isn't what it was when I was 40. I use a 50" 4K TV as my main monitor. It is big enough that it does not need scaling. The icons are fine and the text is fine. In my opinion nobody will have trouble if the icons and text are too big, but if they are too small, well you see where I am going with this.

    So, I am finding this to be quite unusable, simply because I cannot read the screen. Will I upgrade to a commercial license? Absolutely not if I cannot use the program. I could use reading glasses but I find that my eyes then become reliant on them. Just wait until your eyes begin to change and then see what decisions you make to try and preserve it.

    Is it their fault I am old? No way. I take full responsibility for getting old. After age 40 my eye sight losing near focus is normal but I have adapted with a much bigger monitor. It also gives a butt load of screen space to have other programs running and visible all the time. I consider it a huge productivity boost, but that is only my opinion.

    Anyway, I have stated my concerns. Sorry if I have upset people. I will stop now.


  • Qt Champions 2017

    @lonnie
    Hi
    I have not seen Creators font be so small, even on 4k screens.
    I assumed it used 150% scaling. (win 10) which you do
    not and thats quite understandable with 50"

    Anyway, there is a workaround
    First you can try
    C:\Qt\Tools\QtCreator\bin\qtcreator.exe --platform windows:dpiawareness=1
    (i just edited the quick launch icon, via properties)
    windows:dpiawareness=0 seems to be default.
    if that does not fix it,
    There is also QT_SCALE_FACTOR (inv. variable )
    http://doc.qt.io/qt-5/highdpi.html
    Alternatively
    You can start Creator with a stylesheet and affect font sizes.
    (i just edited the quick launch icon, via properties)

    C:\Qt\Tools\QtCreator\bin\qtcreator.exe --platform windows:dpiawareness=0 -stylesheet e:\style.css
    Use full path for stylesheet.

    it was a quick test to see if still supported
    style.css ( its just a text file with other .ext )

    QWidget
    {
    font: 32pt "Times New Roman";
    }
    

    It does use it, even not all places seems affected. (the side bar for one)
    alt text

    To make it look good it might need some tweaking
    but it might work ok to make text readable in 4k with no scaling,

    alt text

    Note: this is of cause way too big :)


  • Lifetime Qt Champion

    On a side note, not all Qt developers are working for the Qt Company nor do they have customer to satisfy. Some are doing it as part of their job (see for example KDAB's contributions) and those are usually, indeed, customer driven or simply employee driven to improve stuff for them to make their work easier but also for the community. Some are doing that on their free time, take for example the KDE project and its developers who are usually providing patches to improve Qt the way the project needs it. And finally some people just like hacking on interesting projects with no particular goal except improving the project, their knowledge, participate in something that has an impact for many people, etc.


  • Moderators

    @lonnie said in How do I change the system font for QtCreator?:

    Maybe they are liars

    Nobody said that. Did you check the Qt bug tracker to see these bug reports and upvote them?
    I will stop here as well as it is not going anywhere I fear...



  • @mrjj YES, that is now perfectly usable. What a simple fix.
    C:\Qt\Tools\QtCreator\bin\qtcreator.exe --platform windows:dpiawareness=1
    Thanks!

    A 50" is great for old eyes, but as you can see I have a large work surface, ie the pic represents half of my monitor. My monitor is less than $500 now, which is way less than I have paid for 21 inch 1900x1280 monitors in the past.

    Anyway, I am now officially a happy camper, and will mark your answer as the FIX.
    0_1533827991097_qt-YES.png


  • Qt Champions 2017

    @lonnie
    Super so the default scaling fixed it.
    Yeah i have also been wondering if really huge screen and 4k would not be optimal as i tried 28" 4k and its hard on my (also quite old) eyes.
    And while tv have more input lag, it should not matter as work monitor.
    And a 50" "real" monitor would cost a fortune.



  • @mrjj 4K is 4K. Take your laptop in and hook it up and try. I'm sure most places would let you try that. Be warned, though, you'll draw a crowd.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.