Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Get device /Android or iPad/ default font scale



  • Hi all.

    I would like to obtain the device default font scale when starting the app:
    For ex in case of Android device there are a few hardcoded font size values: normal, large etc.
    I have tried to get from Qt from default font object without success.
    Now I am trying to write a java class for obtaining font sizes: First problem: I am not able to call non static java method from Qt. In java I am not able to obtain font size from static method....

    Please give me some hints to solve this problem.
    Thank you very much!
    Have a nice day, bye,
    Bence


Log in to reply