aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken2/doc
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2020-04-14 08:50:01 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2020-04-16 15:59:19 +0200
commit617282b3a89cb557900343b262859bb6eaa9b2ed (patch)
tree3942f7bc8980c2c4bb900f2832915c26f1e061c0 /sources/shiboken2/doc
parent6d449e9effd92686704fd2d3685da9b018a96f4d (diff)
shiboken: Allow for parsing headers under system include paths
Extend the <system-include> element for a trailing slash to indicate an absolute path against which a file is matched. Change-Id: I9557e26b941a7d5d5cab575cd978c158c6859b97 Fixes: PYSIDE-1267 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'sources/shiboken2/doc')
-rw-r--r--sources/shiboken2/doc/typesystem_specifying_types.rst6
1 files changed, 4 insertions, 2 deletions
diff --git a/sources/shiboken2/doc/typesystem_specifying_types.rst b/sources/shiboken2/doc/typesystem_specifying_types.rst
index 5d086f4d3..27267faab 100644
--- a/sources/shiboken2/doc/typesystem_specifying_types.rst
+++ b/sources/shiboken2/doc/typesystem_specifying_types.rst
@@ -468,12 +468,14 @@ system-include
^^^^^^^^^^^^^^
The optional **system-include** specifies the name of a system include
- file to be parsed. Normally, include files considered to be system
- include files are skipped by the C++ code parser. Its primary use case
+ file or a system include path (indicated by a trailing slash) to be
+ parsed. Normally, include files considered to be system include
+ files are skipped by the C++ code parser. Its primary use case
is exposing classes from the STL library.
.. code-block:: xml
<typesystem>
<system-include file-name="memory"/>
+ <system-include file-name="/usr/include/Qt/"/>
</typesystem>