Important: Please read the Qt Code of Conduct -

Bad fonts scaling in QML for different screens

  • Hello There,
    I was developing an application in QML and tested it only on my host machine for a while. Eventually I deployed it to the target, which is an x86 64 bit linux machine with screen of size 800 x 480 pixels. The application works as expected apart from one thing: The fonts are really small, unlike on the host. I set all of the fonts used in QML by using pointSize property.
    Is this valid when I need the application to run correctly on 800 x 480 screen but 1920 x 1080 as well?
    I would appreciate all help.

  • Lifetime Qt Champion

    Maybe you can tweak it using

    Setting as points should be correct but maybe the calculation for that screen
    gives less size then expected. (800x480 is really low res)

Log in to reply