0

How do I disable high DPI scaling in Qt application? I've tried QApplication::setAttribute(Qt::AA_DisableHighDpiScaling); as the first line in main() — no effect.

Bibasmall
  • 33
  • 4
  • If you are on Windows, the system will scale your app anyway. If you really don't want scaling, set `dpiawareness` to `PerMonitorV2` and set devicePixelRatio in Qt to `1.0`. – Osyotr Oct 17 '22 at 00:01

0 Answers0