From f4629dc3f47777a358252cfdec65ccb39be75ed2 Mon Sep 17 00:00:00 2001 From: Serge Camille Date: Mon, 4 Oct 2021 21:21:58 +0200 Subject: [PATCH] Remove obsolete high dpi settings for QT6 builds --- qt/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qt/main.cpp b/qt/main.cpp index ccfbcc7705c..c8de293277d 100644 --- a/qt/main.cpp +++ b/qt/main.cpp @@ -50,7 +50,7 @@ int main( int argc, char* argv[] ) qInstallMessageHandler(messageOutput); #endif -#if ( QT_VERSION >= QT_VERSION_CHECK( 5, 6, 0 ) ) +#if ( QT_VERSION < QT_VERSION_CHECK( 6, 0, 0 ) ) QCoreApplication::setAttribute( Qt::AA_EnableHighDpiScaling ); qputenv( "QT_AUTO_SCREEN_SCALE_FACTOR", "1" ); #endif