summaryrefslogtreecommitdiff
path: root/quacker
diff options
context:
space:
mode:
Diffstat (limited to 'quacker')
-rw-r--r--quacker/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/quacker/main.cpp b/quacker/main.cpp
index adec32b..57728af 100644
--- a/quacker/main.cpp
+++ b/quacker/main.cpp
@@ -61,7 +61,9 @@ private:
int main(int argc, char **argv)
{
+#if (QT_VERSION >= QT_VERSION_CHECK(5, 6, 0))
QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
+#endif
QuackerApplication a(argc, argv);
TopLevel topLevel;
a.setTopLevel(&topLevel);