diff options
author | Lars Knoll <lars.knoll@qt.io> | 2020-03-04 09:54:35 +0100 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2020-03-04 19:10:37 +0000 |
commit | a0ffdf765e34820b591bcb9d1bee6df0985056cf (patch) | |
tree | 2328cacb6547e7de3535a968d234aa84942b445f /examples/widgets/painting/affine/main.cpp | |
parent | d57adfe5f375121c3e233465526ee5d9df03e1e9 (diff) | |
parent | 2a4b95778993b00499eb94f61a87330fdbadf947 (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.cpp | 4 |
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); |