summaryrefslogtreecommitdiffstats
path: root/src/opengl/doc/qtopengl.qdocconf
diff options
context:
space:
mode:
Diffstat (limited to 'src/opengl/doc/qtopengl.qdocconf')
-rw-r--r--src/opengl/doc/qtopengl.qdocconf23
1 files changed, 16 insertions, 7 deletions
diff --git a/src/opengl/doc/qtopengl.qdocconf b/src/opengl/doc/qtopengl.qdocconf
index 6153e97e04..7af173aac8 100644
--- a/src/opengl/doc/qtopengl.qdocconf
+++ b/src/opengl/doc/qtopengl.qdocconf
@@ -1,6 +1,10 @@
include($QT_INSTALL_DOCS/global/qt-module-defaults.qdocconf)
include($QT_INSTALL_DOCS/config/exampleurl-qtbase.qdocconf)
+# Use a custom module header that pulls in also QtOpenGLWidgets
+includepaths += .
+moduleheader = QtOpenGLDoc
+
# Name of the project which must match the outputdir. Determines the .index file
project = QtOpenGL
@@ -11,17 +15,19 @@ project = QtOpenGL
# <rootdir>/examples.
# Paths are relative to the location of this file.
-headerdirs += ..
-sourcedirs += .. \
- ../../../examples/opengl/doc/src
+{sourcedirs,headerdirs} += \
+ .. \
+ ../../openglwidgets
+
exampledirs += ../../../examples/opengl \
. \
snippets \
- ..
-imagedirs += images \
- ../../../examples/opengl/doc/images
+ .. \
+ ../../gui/doc/snippets
-depends += qtcore qtgui qtwidgets qtdoc qmake qtcmake
+imagedirs += images
+
+depends += qtcore qtgui qtwidgets qtdoc qmake qtcmake qtquick
examplesinstallpath = opengl
@@ -57,3 +63,6 @@ qhp.QtOpenGL.subprojects.classes.sortPages = true
navigation.landingpage = "Qt OpenGL"
navigation.cppclassespage = "Qt OpenGL C++ Classes"
+
+# Enforce zero documentation warnings
+warninglimit = 0