summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTopi Reinio <[email protected]>2025-05-19 13:44:32 +0000
committerTopi Reinio <[email protected]>2025-05-27 09:11:37 +0000
commite9a791101e4596cd3603c5097fa9c64412ca88ba (patch)
treeeea61d5cda1f9f0d1ae9cbc41b38e9868bc995c2
parent55c8bbf30d4a53fe82a71b1bcfa81bfb4084d4ff (diff)
Doc: Enable automatic linking to sources on code.qt.ioHEADdev
Since 6.10, QDoc is capable of generating links to the declaration in the source code for each documented C++ API entity in their `Detailed description`. Add the required configuration to enable this feature in Qt Sensors. Change-Id: I247cb4ab461a14deca88863e030bc5f3dfae417a Reviewed-by: Paul Wicking <[email protected]>
-rw-r--r--src/sensors/doc/qtsensors.qdocconf3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sensors/doc/qtsensors.qdocconf b/src/sensors/doc/qtsensors.qdocconf
index 52222be2..56581db5 100644
--- a/src/sensors/doc/qtsensors.qdocconf
+++ b/src/sensors/doc/qtsensors.qdocconf
@@ -45,6 +45,9 @@ exampledirs += ../../../examples/sensors \
# Specify the install path under QT_INSTALL_EXAMPLES
examplesinstallpath = sensors
+# Path to the root of qtsensors (for automatic linking to source code)
+url.sources.rootdir = ../../..
+
imagedirs += images
depends += qtcore qtdoc qtgui qtquick qtcmake