aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVenugopal Shivashankar <Venugopal.Shivashankar@qt.io>2018-06-27 08:59:31 +0200
committerVenugopal Shivashankar <Venugopal.Shivashankar@qt.io>2018-06-28 06:16:20 +0000
commit215b23b5452f7ace4190b284afc2bf14d9d2cdfa (patch)
tree7b3e74b21688f6e470c25471567a0349d26f910e
parentd62278afd55c87101de7c7a9327f06cf5326af0b (diff)
Doc: Update doc config to enable conditional exclusion
This should help excluding parts of qt documentation that are not relevant for Qt for Python. For example, the \snippet entries that include qmake project file statements. Change-Id: Iec05be72b1400ecb61a109688aaa9e3bf19e95b5 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Christian Tismer <tismer@stackless.com>
-rw-r--r--sources/pyside2/doc/pyside-config.qdocconf.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/sources/pyside2/doc/pyside-config.qdocconf.in b/sources/pyside2/doc/pyside-config.qdocconf.in
index dc387658c..e897069ad 100644
--- a/sources/pyside2/doc/pyside-config.qdocconf.in
+++ b/sources/pyside2/doc/pyside-config.qdocconf.in
@@ -9,6 +9,9 @@ WebXML.outputsubdir = webxml
spurious += "Hostile character .*"
+#excludes qdoc statements that are not relevant for PySide2
+defines += qtforpython
+
includepaths += \
-I @QT_INCLUDE_DIR@ \
-I @mkspecInclude@ \