summaryrefslogtreecommitdiffstats
path: root/examples/widgets/painting/affine/main.cpp
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2020-03-04 09:54:35 +0100
committerShawn Rutledge <shawn.rutledge@qt.io>2020-03-04 19:10:37 +0000
commita0ffdf765e34820b591bcb9d1bee6df0985056cf (patch)
tree2328cacb6547e7de3535a968d234aa84942b445f /examples/widgets/painting/affine/main.cpp
parentd57adfe5f375121c3e233465526ee5d9df03e1e9 (diff)
parent2a4b95778993b00499eb94f61a87330fdbadf947 (diff)
Merge "Merge remote-tracking branch 'origin/5.15' into dev"
Diffstat (limited to 'examples/widgets/painting/affine/main.cpp')
-rw-r--r--examples/widgets/painting/affine/main.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/widgets/painting/affine/main.cpp b/examples/widgets/painting/affine/main.cpp
index 6ce8efe482..641fc5c204 100644
--- a/examples/widgets/painting/affine/main.cpp
+++ b/examples/widgets/painting/affine/main.cpp
@@ -55,7 +55,9 @@
int main(int argc, char **argv)
{
Q_INIT_RESOURCE(affine);
-
+#ifdef Q_OS_ANDROID
+ qputenv("QT_SCALE_FACTOR", "2");
+#endif
QApplication app(argc, argv);
XFormWidget xformWidget(nullptr);