QT_SCALE_FACTOR parameter



  • 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



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


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.