all repos — mgba @ 34ddae8e4d612badeef7fd2dc07452476cb8558d

mGBA Game Boy Advance Emulator

HiDPI support for Qt GUI
KAMiKAZOW kamikazow@web.de
Sat, 08 Jun 2019 20:53:25 +0200
commit

34ddae8e4d612badeef7fd2dc07452476cb8558d

parent

442a0794be6ebe81568c6579f4b36996c4dcb8e1

1 files changed, 1 insertions(+), 0 deletions(-)

jump to
M src/platform/qt/main.cppsrc/platform/qt/main.cpp

@@ -68,6 +68,7 @@ }

QApplication::setApplicationName(projectName); QApplication::setApplicationVersion(projectVersion); + QApplication::setAttribute(Qt::AA_UseHighDpiPixmaps, true); #ifdef BUILD_GLES2 QSurfaceFormat format;