From 3cbe41e25b7a3dd0872daa9ea87ba786a9dc2df8 Mon Sep 17 00:00:00 2001 From: ruki Date: Mon, 10 Aug 2020 22:46:02 +0800 Subject: update qtquickapp test --- tests/projects/qt/quickapp/src/main.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/projects/qt/quickapp/src/main.cpp') diff --git a/tests/projects/qt/quickapp/src/main.cpp b/tests/projects/qt/quickapp/src/main.cpp index 6333b85c4..2ec4b880c 100644 --- a/tests/projects/qt/quickapp/src/main.cpp +++ b/tests/projects/qt/quickapp/src/main.cpp @@ -3,7 +3,9 @@ int main(int argc, char *argv[]) { +#if QT_VERSION >= 0x50601 QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling); +#endif QGuiApplication app(argc, argv); -- cgit v1.3.1