diff options
author | Eike Ziller <eike.ziller@qt.io> | 2019-10-07 07:46:48 +0200 |
---|---|---|
committer | Eike Ziller <eike.ziller@qt.io> | 2019-12-16 11:03:31 +0000 |
commit | 3dfa18818240006d1458f8f9104b4b8c336a60e0 (patch) | |
tree | e6efb3950e62afa432a5da5bb41f0b28f79f2164 /src/plugins/qtsupport/qtversionmanager.ui | |
parent | 6b492866af89365a6f1083334460bffa8c31cc3e (diff) |
Help: Add option to only register highest versioned Qt documentation
In Options > Kits > Qt Versions. And make it the default.
It registers each documentation file only for the highest registered Qt
version. If you have Qt 5.12 and Qt 5.13 registered, but only installed
QtWebEngine for Qt 5.12, you'll get QtWebEngine documentation for Qt
5.12, but the other documentation is from Qt 5.13.
That is usually sufficient, since the documentation still contains "old"
API, and new API is flagged with "since".
This avoids registering a lot of documentation, which creates a startup
performance issue, and also leads to usually unneeded popups for which
Qt version some documentation should be shown.
The option also allows going back to registering all documentation,
and no Qt documentation at all.
Fixes: QTCREATORBUG-21482
Fixes: QTCREATORBUG-22799
Task-number: QTCREATORBUG-10004
Change-Id: I1c7bc73982d48d8e53f5083e2fa851b6c5f60f80
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'src/plugins/qtsupport/qtversionmanager.ui')
-rw-r--r-- | src/plugins/qtsupport/qtversionmanager.ui | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/plugins/qtsupport/qtversionmanager.ui b/src/plugins/qtsupport/qtversionmanager.ui index 3d185a59a63..6f303b06bef 100644 --- a/src/plugins/qtsupport/qtversionmanager.ui +++ b/src/plugins/qtsupport/qtversionmanager.ui @@ -26,6 +26,33 @@ <item> <widget class="Utils::DetailsWidget" name="infoWidget" native="true"/> </item> + <item> + <layout class="QHBoxLayout" name="horizontalLayout2"> + <item> + <widget class="QLabel" name="label"> + <property name="text"> + <string>Register documentation:</string> + </property> + </widget> + </item> + <item> + <widget class="QComboBox" name="documentationSetting"/> + </item> + <item> + <spacer name="horizontalSpacer"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>40</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + </layout> + </item> </layout> </item> <item> |