Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
QT for android
mareczek244 last edited by
Hi, I created application for android in QT Creator 5.3. I run application on device and some bottons, edittext is very very small. how to set all controls to automatically matched size and they were not small ???
You can use font.pixelSize to control the pixel size of your fonts. This of course is tricky if the app will be run on a high-DPI screen. On the C++ side you can leverage the "QScreen":http://qt-project.org/doc/qt-5/qscreen.html class to get more info about the actual pixel size on current machine, and react to that.