diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2024-11-18 09:54:19 +0100 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2024-11-18 10:05:10 +0100 |
commit | 3f170dc2c5d9d0471b38919191e16d3eae38270d (patch) | |
tree | ff2d95bbaaf74ce1cb059d56a7cfa27545ead959 /sources/pyside6/PySide6/QtGraphs | |
parent | bee66d9c642e95cacd7d02215dff0cf49edb4195 (diff) |
Fix non-Unity build
Additional include "pyside_numpy.h" needs to be within
<extra-includes>, else it replaces the class include file.
Amends 649592a8cbc9c656a7b9be77f043538bf4e242d5.
Pick-to: 6.8 6.8.1
Fixes: PYSIDE-2927
Change-Id: I4883976144743f04e27589626c182e3478bea155
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
Diffstat (limited to 'sources/pyside6/PySide6/QtGraphs')
-rw-r--r-- | sources/pyside6/PySide6/QtGraphs/typesystem_graphs.xml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sources/pyside6/PySide6/QtGraphs/typesystem_graphs.xml b/sources/pyside6/PySide6/QtGraphs/typesystem_graphs.xml index 0f16a39ec..7d6968016 100644 --- a/sources/pyside6/PySide6/QtGraphs/typesystem_graphs.xml +++ b/sources/pyside6/PySide6/QtGraphs/typesystem_graphs.xml @@ -185,7 +185,9 @@ <object-type name="QXYModelMapper" since="6.8"/> <object-type name="QXYSeries"> <enum-type name="PointConfiguration"/> - <include file-name="pyside_numpy.h" location="global"/> + <extra-includes> + <include file-name="pyside_numpy.h" location="global"/> + </extra-includes> <add-function signature="appendNp(PyArrayObject *@x@, PyArrayObject *@y@)"> <inject-code file="../glue/qtcharts.cpp" snippet="qxyseries-appendnp-numpy-x-y"/> <inject-documentation format="target" mode="append"> |