summaryrefslogtreecommitdiffstats
path: root/examples/widgets/painting/gradients/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/widgets/painting/gradients/main.cpp')
-rw-r--r--examples/widgets/painting/gradients/main.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/widgets/painting/gradients/main.cpp b/examples/widgets/painting/gradients/main.cpp
index 0ddf7a4579..7ffb0326e9 100644
--- a/examples/widgets/painting/gradients/main.cpp
+++ b/examples/widgets/painting/gradients/main.cpp
@@ -55,6 +55,9 @@
int main(int argc, char *argv[])
{
Q_INIT_RESOURCE(gradients);
+#ifdef Q_OS_ANDROID
+ qputenv("QT_SCALE_FACTOR", "2");
+#endif
QApplication app(argc, argv);