From 07c06961b45eaf6ba0a53bcef8761798a5b55158 Mon Sep 17 00:00:00 2001 From: John Fultz Date: Sat, 15 Jul 2023 20:55:39 -0500 Subject: More Qt6-ish things that were probably a bad idea even in Qt5. --- quacker/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'quacker/main.cpp') diff --git a/quacker/main.cpp b/quacker/main.cpp index 57728af..6aa1368 100644 --- a/quacker/main.cpp +++ b/quacker/main.cpp @@ -61,7 +61,7 @@ private: int main(int argc, char **argv) { -#if (QT_VERSION >= QT_VERSION_CHECK(5, 6, 0)) +#if (QT_VERSION >= QT_VERSION_CHECK(5, 6, 0) && QT_VERSION < QT_VERSION_CHECK(6, 0, 0)) QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling); #endif QuackerApplication a(argc, argv); -- cgit v1.2.3