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 <Venugopal.Shivashankar@qt.io>
Reviewed-by: Safiyyah Moosa <safiyyah.moosa@qt.io>
(cherry picked from commit 634f474300fe27b6decb61937f1c5a5401807fad)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Topi Reinio 2023-08-17 12:47:34 +00:00 committed by Qt Cherry-pick Bot
parent 2e8fa5b8f3
commit 61c8e411b5

View File

@ -15,18 +15,17 @@ project = QtOpenGL
# <rootdir>/examples. # <rootdir>/examples.
# Paths are relative to the location of this file. # Paths are relative to the location of this file.
headerdirs += .. \ {sourcedirs,headerdirs} += \
../../openglwidgets .. \
sourcedirs += .. \ ../../openglwidgets
../../openglwidgets \
../../../examples/opengl/doc/src
exampledirs += ../../../examples/opengl \ exampledirs += ../../../examples/opengl \
. \ . \
snippets \ snippets \
.. \ .. \
../../gui/doc/snippets ../../gui/doc/snippets
imagedirs += images \
../../../examples/opengl/doc/images imagedirs += images
depends += qtcore qtgui qtwidgets qtdoc qmake qtcmake qtquick depends += qtcore qtgui qtwidgets qtdoc qmake qtcmake qtquick