diff options
| author | Christian Tismer <tismer@stackless.com> | 2021-05-26 19:23:32 +0200 |
|---|---|---|
| committer | Christian Tismer <tismer@stackless.com> | 2021-06-10 19:16:07 +0200 |
| commit | 6acc53a4e426fee336a8577581f579d6c173c7bc (patch) | |
| tree | e5ceff840d592ae33c42f40b731447b7fe87ddea /sources/pyside6/libpyside/pyside.cpp | |
| parent | 5237a185d3a89bf03af7699a3b2f3d3745d2e46c (diff) | |
PyClassProperty: Correct the decorator and publish the class
PyClassProperty is now correctly published as a QtCore class
and existing as an import.
As a side effect, a bug was fixed where a syntax error
occurred because of a missing signature count.
Task-number: PYSIDE-1019
Fixes: PYSIDE-1593
Change-Id: Iae733280d9f9c23244e83a356011104bf527c329
Pick-to: 6.1
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'sources/pyside6/libpyside/pyside.cpp')
| -rw-r--r-- | sources/pyside6/libpyside/pyside.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sources/pyside6/libpyside/pyside.cpp b/sources/pyside6/libpyside/pyside.cpp index 7efe49b68..a78e4e9eb 100644 --- a/sources/pyside6/libpyside/pyside.cpp +++ b/sources/pyside6/libpyside/pyside.cpp @@ -43,6 +43,7 @@ #include "signalmanager.h" #include "pysideclassinfo_p.h" #include "pysideproperty_p.h" +#include "class_property.h" #include "pysideproperty.h" #include "pysidesignal.h" #include "pysidesignal_p.h" @@ -92,6 +93,7 @@ void init(PyObject *module) Signal::init(module); Slot::init(module); Property::init(module); + ClassProperty::init(module); MetaFunction::init(module); // Init signal manager, so it will register some meta types used by QVariant. SignalManager::instance(); |
