Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Disable influence of Android Settings: FontSize and DisplaySize
Qt 6.11 is out! See what's new in the release blog

Disable influence of Android Settings: FontSize and DisplaySize

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
2 Posts 2 Posters 951 Views
  • 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.
  • H Offline
    H Offline
    Hrovac
    wrote on last edited by
    #1

    I'm working on a small game for android.

    I dont want the android settings to influence my scalings and fontsizes.
    How do i disable the changes of my QML-App to Android Font Size and Display Size Settings?

    Thank you.

    1 Reply Last reply
    0
    • A Offline
      A Offline
      alervd
      wrote on last edited by alervd
      #2

      I don't know if there is a Qt-way to achieve this, but you can use Android native APIs.

      Check this and this.

      I've just made it and it works fine. Tested under Android 11 and Android 13.

      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 Extensions
      • Unsolved