From bf1614256b960f9e8b491f79d4ff4b586586a625 Mon Sep 17 00:00:00 2001 From: Laurent Montel Date: Wed, 12 Jul 2023 18:50:27 +0200 Subject: [PATCH] Qt::AA_EnableHighDpiScaling is by default in qt6 --- src/main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index 7ed34e273..a626d9efc 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -129,7 +129,9 @@ Q_DECL_EXPORT #endif int main(int argc, char *argv[]) { +#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0) QGuiApplication::setAttribute(Qt::AA_EnableHighDpiScaling); +#endif QNetworkProxyFactory::setUseSystemConfiguration(true);