diff options
author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2022-11-28 15:21:51 +0100 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2022-12-02 15:53:37 +0100 |
commit | 846cda7eb060a3e812670ff512b634be4245d95e (patch) | |
tree | 78599a116b5f0ba5c9e36bdcac1ef0ca7ffbb867 | |
parent | 465bde54a0e1f440c76e3e19c0e628b9a211a697 (diff) |
Remove Android High-DPI workarounds in examples
These should no longer be needed for Qt 6.
Change-Id: Ica7214cbf4fc3ddae960309fe89681ec690d28d0
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
-rw-r--r-- | examples/widgets/painting/affine/main.cpp | 4 | ||||
-rw-r--r-- | examples/widgets/painting/gradients/main.cpp | 3 | ||||
-rw-r--r-- | examples/widgets/painting/pathstroke/main.cpp | 3 |
3 files changed, 1 insertions, 9 deletions
diff --git a/examples/widgets/painting/affine/main.cpp b/examples/widgets/painting/affine/main.cpp index a0ded9bfe3..3efd2125ac 100644 --- a/examples/widgets/painting/affine/main.cpp +++ b/examples/widgets/painting/affine/main.cpp @@ -8,9 +8,7 @@ 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); diff --git a/examples/widgets/painting/gradients/main.cpp b/examples/widgets/painting/gradients/main.cpp index 7e61687f91..f3b75a749c 100644 --- a/examples/widgets/painting/gradients/main.cpp +++ b/examples/widgets/painting/gradients/main.cpp @@ -8,9 +8,6 @@ int main(int argc, char *argv[]) { Q_INIT_RESOURCE(gradients); -#ifdef Q_OS_ANDROID - qputenv("QT_SCALE_FACTOR", "2"); -#endif QApplication app(argc, argv); diff --git a/examples/widgets/painting/pathstroke/main.cpp b/examples/widgets/painting/pathstroke/main.cpp index d7c64b3c64..a5ceb9e3c6 100644 --- a/examples/widgets/painting/pathstroke/main.cpp +++ b/examples/widgets/painting/pathstroke/main.cpp @@ -8,9 +8,6 @@ int main(int argc, char **argv) { Q_INIT_RESOURCE(pathstroke); -#ifdef Q_OS_ANDROID - qputenv("QT_SCALE_FACTOR", "2"); -#endif QApplication app(argc, argv); |