Fix: Font size on Android
This commit is contained in:
parent
05bce5e97d
commit
6ca5b81f6d
1 changed files with 3 additions and 0 deletions
|
@ -33,6 +33,9 @@ int main(int argc, char *argv[])
|
||||||
QGuiApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
|
QGuiApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
|
||||||
|
|
||||||
QGuiApplication app(argc, argv);
|
QGuiApplication app(argc, argv);
|
||||||
|
QFont f = app.font();
|
||||||
|
f.setPixelSize(16);
|
||||||
|
app.setFont(f);
|
||||||
|
|
||||||
// translation
|
// translation
|
||||||
QString localeName = QLocale::system().bcp47Name();
|
QString localeName = QLocale::system().bcp47Name();
|
||||||
|
|
Loading…
Reference in a new issue