Scaling font size to low on android
I am building an app on Qt Creator 4.0.2 (based on Qt 5.7) on ubuntu 16.04 for Android. The fonts in UI does not scale as per phone screen. Size of fonts in an App remains same as in desktop. I want to rescale font size to small (as per phones) .
I tried with :
@mit_cruze Please note: "Qt Creator 4.0.2 (based on Qt 5.7)" does not say anything about the Qt version you're using.
ok . How can I know? Can you please answer my question?
@mit_cruze Well, you should know what you installed. How did you install Qt?
Regarding your question: I don't have an answer, maybe somebody else has.
you can have a look at V-Play Engine for Qt-based mobile Apps and Games.
The available QML components are already designed to support different screen resolutions and densities of tablets, phones and desktop devices. In addition it is possible to specify device-independent sizes for custom QML items with the usage of e.g. the App::dp() method, or sp() for font sizes.
For a short guide about handling different screens and devices with the engine, please see the Resolution and Device Independence Tutorials.