aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorLeena Miettinen <riitta-leena.miettinen@qt.io>2018-05-23 10:27:53 +0200
committerLeena Miettinen <riitta-leena.miettinen@qt.io>2018-05-23 15:09:19 +0000
commit51f5f25f990aedcacc6770f8f7ef5fbd96fa8690 (patch)
treefe9633ab7cb38e81fe7fd1b959929b1dc4b100f1 /doc
parentcaf935b60f4c9fd58f082f5f4eb641b5f8555b0d (diff)
Doc: Describe the Enable high DPI scaling option
Task-number: QTCREATORBUG-20232 Change-Id: I3a0ba2fcfd08fe6f3208754f369241553e0d0d83 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'doc')
-rw-r--r--doc/src/howto/creator-ui.qdoc30
1 files changed, 30 insertions, 0 deletions
diff --git a/doc/src/howto/creator-ui.qdoc b/doc/src/howto/creator-ui.qdoc
index b6ccd840f5..e7a7200cd0 100644
--- a/doc/src/howto/creator-ui.qdoc
+++ b/doc/src/howto/creator-ui.qdoc
@@ -601,6 +601,11 @@
\section1 Platform Notes
+ This section describes the cases where the behavior of \QC depends on the
+ operating system it runs on.
+
+ \section2 Locations of Functions
+
\QC uses standard names and locations for standard features, such as
\e options or \e preferences. In this manual, the names and locations on
Windows and Linux are usually used to keep the instructions short. Here are
@@ -623,4 +628,29 @@
\uicontrol Keyboard
\endtable
+ \section2 High DPI Scaling
+
+ The operating systems supported by \QC implement high dots-per-inch (DPI)
+ scaling at varying levels. Therefore, \QC handles high DPI scaling
+ differently on different operating system:
+
+ \list
+
+ \li On \macos, high DPI scaling is forced, which means that \QC allows
+ Qt to use the system scaling factor as the \QC scaling factor.
+
+ \li On Windows, if no \l{High DPI Support in Qt}
+ {scaling environment variables} are set, \QC instructs Qt to detect
+ the scaling factor and use it for \QC.
+
+ \li On Linux, \QC leaves it to the user to enable high DPI scaling,
+ because the process varies so much on different distributions
+ and windowing systems that it cannot be reliably done automatically.
+
+ \endlist
+
+ To override the default approach and always enable high-DPI scaling, select
+ \uicontrol Tools > \uicontrol Options > \uicontrol Environment >
+ \uicontrol {Enable high DPI scaling}. The changes will take effect after you
+ restart \QC.
*/