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. QT_SCALE_FACTOR parameter
Forum Updated to NodeBB v4.3 + New Features

QT_SCALE_FACTOR parameter

Scheduled Pinned Locked Moved Solved Mobile and Embedded
2 Posts 1 Posters 623 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.
  • F Offline
    F Offline
    Francky033
    wrote on last edited by
    #1

    Hello,

    I have placed the following line:

    qputenv("QT_SCALE_FACTOR", (QString("%1").arg(scale_boxes)).toLocal8Bit());
    

    at the beginning of the main() function to change the size of all QML boxes when my application starts. But since Qt 5.12.3, it no longer works under Android. On the other hand, the QT_SCALE_FACTOR parameter continues to work under linux and Windows.

    Is there a bug or change in Qt 5.12.3 Android?

    Sincerely,

    Francky033

    1 Reply Last reply
    0
    • F Offline
      F Offline
      Francky033
      wrote on last edited by
      #2

      It was a mistake on my part. The QT_FACTOR_SCALE parameter works very well under Android.
      Sorry for the inconvenience!

      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