]> Nutra Git (v2) - gamesguru/feather.git/commitdiff
Qt 5.12 compat (refactor)
authorgg <chown_tee@proton.me>
Thu, 15 Jan 2026 17:56:50 +0000 (12:56 -0500)
committergg <chown_tee@proton.me>
Thu, 15 Jan 2026 17:56:50 +0000 (12:56 -0500)
src/main.cpp

index 79306493dfb608f8eafd86153b40d1dec9c3901e..2a6a5d135780851a31488fd6ab5bf78e8c626710 100644 (file)
@@ -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") {