From: gg Date: Thu, 15 Jan 2026 17:56:50 +0000 (-0500) Subject: Qt 5.12 compat (refactor) X-Git-Url: https://git.nutra.tk/v2?a=commitdiff_plain;h=05fcb68175517d42b84d0281a57f423450c867f0;p=gamesguru%2Ffeather.git Qt 5.12 compat (refactor) --- diff --git a/src/main.cpp b/src/main.cpp index 79306493..2a6a5d13 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -83,8 +83,11 @@ if (AttachConsole(ATTACH_PARENT_PROCESS)) { #if defined(Q_OS_LINUX) // PassThrough results in muddy text +#if QT_VERSION >= QT_VERSION_CHECK(5, 14, 0) QApplication::setHighDpiScaleFactorRoundingPolicy(Qt::HighDpiScaleFactorRoundingPolicy::Round); #endif + // --- +#endif for (int i = 1; i < argc; i++) { if (QString(argv[i]) == "--version" || QString(argv[i]) == "-v") {