Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
qtws26_logo

The Qt Event of the Year: Qt World Summit 2026

Save Your Spot >
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Get device /Android or iPad/ default font scale
Qt 6.12 LTS is out! See what's new in the release blog

Get device /Android or iPad/ default font scale

Scheduled Pinned Locked Moved Mobile and Embedded
1 Posts 1 Posters 676 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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0

    • Login

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