From 59b40c7871a97bec3ff24b76a76dc64519f5bd12 Mon Sep 17 00:00:00 2001 From: Laserlicht <13953785+Laserlicht@users.noreply.github.com> Date: Mon, 29 Apr 2024 14:00:16 +0300 Subject: [PATCH] [launcher] enable High DPI --- launcher/main.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/launcher/main.cpp b/launcher/main.cpp index 90afbfb57..d027fa8c5 100644 --- a/launcher/main.cpp +++ b/launcher/main.cpp @@ -43,6 +43,9 @@ int MAIN_EXPORT main(int argc, char * argv[]) int result; #ifdef VCMI_IOS { +#endif +#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0) + QApplication::setAttribute(Qt::AA_EnableHighDpiScaling); #endif QApplication vcmilauncher(argc, argv);