diff options
| author | Christian Tismer <tismer@stackless.com> | 2024-06-26 15:36:20 +0200 |
|---|---|---|
| committer | Christian Tismer <tismer@stackless.com> | 2024-07-05 10:28:59 +0200 |
| commit | 1ac022a95be69d220ed9fc6ce5832d4a646fbe52 (patch) | |
| tree | 3c7ffda8b02319543b40e8f99e31a2cb23dc627c /sources/pyside6/PySide6 | |
| parent | a9ed0cab4ab9ecd085848efd75feb7fe72903924 (diff) | |
Shiboken: Get rid of the fullName field in generated code
This patch does the actual removal of the fullName field.
Unfortunately, not all fields can be removed but only
the ones which are reachable by the TypeInitStructs.
(meanwhile less than 500)
This result is pretty much better (at least on macOS),
so we would not want to optimize it any further.
Many thanks to Friedemann's help with improving the
generator and removing the quirks that I could not solve.
Task-number: PYSIDE-2701
Change-Id: Ie350766c450da1d86359c4e24c313ade3146233f
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'sources/pyside6/PySide6')
| -rw-r--r-- | sources/pyside6/PySide6/glue/qtstatemachine.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sources/pyside6/PySide6/glue/qtstatemachine.cpp b/sources/pyside6/PySide6/glue/qtstatemachine.cpp index 098200b14..66c4acf10 100644 --- a/sources/pyside6/PySide6/glue/qtstatemachine.cpp +++ b/sources/pyside6/PySide6/glue/qtstatemachine.cpp @@ -41,7 +41,8 @@ if (PySide::SignalManager::registerMetaMethod(%1, signalName.constData(), // http://bugs.openbossa.org/show_bug.cgi?id=362 // PYSIDE-2256: The label was removed if (!PyObject_TypeCheck(%1, PySideSignalInstance_TypeF())) - return Shiboken::returnWrongArguments(args, fullName, errInfo); + return Shiboken::returnWrongArguments(args, "addTransition", errInfo, + SbkPySide6_QtStateMachineTypeStructs[SBK_QAbstractTransition_IDX]); PySideSignalInstance *signalInstance = reinterpret_cast<PySideSignalInstance *>(%1); auto sender = %CONVERTTOCPP[QObject *](PySide::Signal::getObject(signalInstance)); QSignalTransition *%0 = %CPPSELF->%FUNCTION_NAME(sender, PySide::Signal::getSignature(signalInstance),%2); |
