aboutsummaryrefslogtreecommitdiffstats
path: root/examples/declarative/openglunderqml/main.py
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2021-11-18 21:45:52 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2021-11-19 22:03:57 +0100
commitddab4c862af610417eeb8e1510f3ff20aaa9d57c (patch)
treeb059430531aa9d79ae7b756fa866bc154a2ebbce /examples/declarative/openglunderqml/main.py
parentdb4d44aa0fb321179bc08d7fd12d2b27c0b682dc (diff)
Decouple pysidequickregistertype.cpp from the generated wrapper classes
The registering code determined the size of the generated wrapper class by using sizeof() on them. Replace that by PySide::getSizeOfQObject() as is done in pysideqmlregistertype.cpp. Remove the macro PY_REGISTER_IF_INHERITS_FROM. With that, the code can be moved into a library. Task-number: PYSIDE-1709 Change-Id: Id000a9afec8e94294d92a9d7c6e01fd4d2bf4c37 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'examples/declarative/openglunderqml/main.py')
0 files changed, 0 insertions, 0 deletions