summaryrefslogtreecommitdiffstats
path: root/examples/widgets/painting/affine/main.cpp
diff options
context:
space:
mode:
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);