HiDPI support for Qt GUI
KAMiKAZOW kamikazow@web.de
Sat, 08 Jun 2019 20:53:25 +0200
1 files changed,
1 insertions(+),
0 deletions(-)
jump to
M
src/platform/qt/main.cpp
→
src/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;