summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTopi Reinio <[email protected]>2023-08-17 12:47:34 +0000
committerQt Cherry-pick Bot <[email protected]>2023-08-22 09:13:20 +0000
commit315170ab7a62daaee648abf1916e8e22020b4669 (patch)
tree6fced0e93f555737a86a17b4d460f0211ba07421
parent188ccfbcc48f1bef415e8d5e2fb1911fc56f6900 (diff)
Doc: Qt OpenGL: Remove duplicate source dir from documentation config
As /examples/opengl is already listed in exampledirs, .qdoc source files under that directory do not need to be listed in sourcedirs. Doing so will cause the example to be listed twice in lists generated by the \generatelist and \annotatedlist QDoc commands. Same applies to imagedirs variable. Change-Id: I168dbfe111a4cb9615626eb9869f97d3814a14b7 Reviewed-by: Venugopal Shivashankar <[email protected]> Reviewed-by: Safiyyah Moosa <[email protected]> (cherry picked from commit 634f474300fe27b6decb61937f1c5a5401807fad) Reviewed-by: Qt Cherry-pick Bot <[email protected]>
-rw-r--r--src/opengl/doc/qtopengl.qdocconf13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/opengl/doc/qtopengl.qdocconf b/src/opengl/doc/qtopengl.qdocconf
index 58f16e7d2e5..8a4a6661459 100644
--- a/src/opengl/doc/qtopengl.qdocconf
+++ b/src/opengl/doc/qtopengl.qdocconf
@@ -15,18 +15,17 @@ project = QtOpenGL
# <rootdir>/examples.
# Paths are relative to the location of this file.
-headerdirs += .. \
- ../../openglwidgets
-sourcedirs += .. \
- ../../openglwidgets \
- ../../../examples/opengl/doc/src
+{sourcedirs,headerdirs} += \
+ .. \
+ ../../openglwidgets
+
exampledirs += ../../../examples/opengl \
. \
snippets \
.. \
../../gui/doc/snippets
-imagedirs += images \
- ../../../examples/opengl/doc/images
+
+imagedirs += images
depends += qtcore qtgui qtwidgets qtdoc qmake qtcmake qtquick