diff options
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2022-12-16 16:54:34 +0100 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2022-12-22 17:43:32 +0100 |
| commit | 38109816e804798f47556b8dcbd4ead232ba0588 (patch) | |
| tree | b5643afbe7e907f170ae4de4c827a026659980a9 /sources/pyside6/PySide6/support/deprecated.py | |
| parent | 8d0ddd0383df4bebc6154e08962a2e0c522afa08 (diff) | |
shiboken6: Include base class wrapper headers of the current module when avoiding the protected hack
When avoiding the protected hack, the generated wrapper headers
need to be included to generate casts to the wrapper classes.
This was previously done by generating the entire class declaration
into the header, omitting its extra includes, which causes clashes in
CMake UNITY_BUILD (jumbo) builds and is a violation of the ODR rule.
Improve this by generating include statements for inherited
wrapper headers of the current module. For classes from other modules,
generate the declarations as before, as wrapper headers
are not installed.
Task-number: PYSIDE-2155
Task-number: PYSIDE-500
Change-Id: Ib7caa3f49901090d7d94274018e04ccde2ebfdf9
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'sources/pyside6/PySide6/support/deprecated.py')
0 files changed, 0 insertions, 0 deletions
