diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2020-10-01 08:53:29 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2020-10-02 07:35:30 +0200 |
commit | 62c21af778b7bff6c86e7f89ef03a87efa6c51cb (patch) | |
tree | 8d81d10c06338484b171e819afffbe5aa1b30d26 /sources/pyside2 | |
parent | 430d02db24b95a56ae0acc6a9df6a0effe49da0d (diff) |
Move the annotations for parsing Qt-based headers to shiboken2
It is one of the lesser known things that any project generating
bindings for Qt-based code needs to include pyside2_global.h in
order for signals, slots and properties to be recognized, since
the annotation macro definitions are in this file.
Move the definitions over to shiboken2 to remove the need to
include it.
[ChangeLog][shiboken2] Projects generating bindings for Qt-based
code no longer need to include pyside2_global.h.
Change-Id: I531bb7444561ccfc352f3be09ecdf854f9f7dd3d
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'sources/pyside2')
-rw-r--r-- | sources/pyside2/tests/pysidetest/pysidetest_global.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sources/pyside2/tests/pysidetest/pysidetest_global.h b/sources/pyside2/tests/pysidetest/pysidetest_global.h index 6cc8570f0..f65662cb5 100644 --- a/sources/pyside2/tests/pysidetest/pysidetest_global.h +++ b/sources/pyside2/tests/pysidetest/pysidetest_global.h @@ -30,7 +30,6 @@ #define PYSIDETEST_GLOBAL_H // PySide global.h file -#include "pyside2_global.h" #include "testobject.h" #include "testview.h" #include "hiddenobject.h" |