QML Desktop app: Best practice for HighDPI scaling
maxwell31 last edited by
I have seen the documentation about HighDPI displays. https://doc.qt.io/qt-5/highdpi.html Still, I don't know what is the best practice for designing a desktop application which would run on a 4k monitor as well as on a normal monitor. Can I simply design the application at one resolution, use
Qt::AA_EnableHighDpiScalingand hope that everything works (in this case, should I use font.pixelSize or font.pointSize)? Or should one follow the approach outlined here: https://doc.qt.io/qt-5/scalability.html ?