aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKai Köhne <kai.koehne@qt.io>2022-06-13 15:30:52 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2022-06-14 10:57:34 +0000
commit789442827b387d138a58f0cdf367c5677da13378 (patch)
tree537e8197c7fc2d49f9eae8d34bc32cb40a79d338
parentf1c42b1f63554e3bd5ebe604cb34f60505b08950 (diff)
Fix link to "QML Import Path" section
qmake documentation happens to have a QML_IMPORT_PATH target. Make sure we actually link to the section in Qt Qml. Change-Id: Ie80d414d4dc990600adfb759bd741f8b5e83b3e0 Reviewed-by: Topi Reiniö <topi.reinio@qt.io> (cherry picked from commit 96aa2a29b0b452ba5fce945ddc14c34252f98fba) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--src/qml/doc/src/qtqml-writing-a-module.qdoc2
-rw-r--r--src/quickcontrols2/doc/src/qtquickcontrols2-customize.qdoc2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/doc/src/qtqml-writing-a-module.qdoc b/src/qml/doc/src/qtqml-writing-a-module.qdoc
index 6ad820552e..67a624c5d6 100644
--- a/src/qml/doc/src/qtqml-writing-a-module.qdoc
+++ b/src/qml/doc/src/qtqml-writing-a-module.qdoc
@@ -179,7 +179,7 @@ set(QT_QML_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/qml)
The output directories of QML modules move to the new location.
Likewise, the \c qmllint and \c qmlcachegen invocations are automatically
-adapted to use the new output directory as an \l {QML Import Path}{import path}.
+adapted to use the new output directory as an \l[QtQml]{QML Import Path}{import path}.
Because the new output directory is not part of the default QML import path,
you have to add it explicitly at run time, so that the QML modules can be found.
diff --git a/src/quickcontrols2/doc/src/qtquickcontrols2-customize.qdoc b/src/quickcontrols2/doc/src/qtquickcontrols2-customize.qdoc
index f4fa9a420b..2533b03696 100644
--- a/src/quickcontrols2/doc/src/qtquickcontrols2-customize.qdoc
+++ b/src/quickcontrols2/doc/src/qtquickcontrols2-customize.qdoc
@@ -157,7 +157,7 @@
├─── Button.qml
└─── qmldir
\endcode
- \li The files must be in a directory that is findable via the \l {QML Import Path}.
+ \li The files must be in a directory that is findable via the \l[QtQml]{QML Import Path}.
For example, if the path to \e MyStyle directory mentioned above was
\c /home/user/MyApp/MyStyle, then \c /home/user/MyApp must be added to