at master 1.9 kB view raw
1From: Dmitry Shachnev <mitya57@debian.org> 2Date: Sun, 4 Feb 2024 00:29:00 +0300 3Subject: Modify sendCommand signatures to use 0 as default value 4 5The original default value was QNodeCommand::CommandId(), and shiboken 6copies it verbatim from the header file, however it does not work because 7we do not generate "using namespace Qt3DCore;". 8 90 is the same as QNodeCommand::CommandId(). 10--- 11 sources/pyside2/PySide2/Qt3DCore/typesystem_3dcore.xml | 10 ++++++++++ 12 1 file changed, 10 insertions(+) 13 14diff --git a/sources/pyside2/PySide2/Qt3DCore/typesystem_3dcore.xml b/sources/pyside2/PySide2/Qt3DCore/typesystem_3dcore.xml 15index 8696a12..310595f 100644 16--- a/sources/pyside2/PySide2/Qt3DCore/typesystem_3dcore.xml 17+++ b/sources/pyside2/PySide2/Qt3DCore/typesystem_3dcore.xml 18@@ -58,6 +58,11 @@ 19 <object-type name="QAspectJob"/> 20 <object-type name="QBackendNode"> 21 <enum-type name="Mode"/> 22+ <modify-function signature="sendCommand(const QString&amp;,const QVariant&amp;,unsigned long long)"> 23+ <modify-argument index="3"> 24+ <replace-default-expression with="0"/> 25+ </modify-argument> 26+ </modify-function> 27 </object-type> 28 <!-- TODO: Solve issues related to windows and a unresolved 29 external symbol 30@@ -82,6 +87,11 @@ 31 </object-type> 32 <object-type name="QNode"> 33 <enum-type name="PropertyTrackingMode"/> 34+ <modify-function signature="sendCommand(const QString&amp;,const QVariant&amp;,unsigned long long)"> 35+ <modify-argument index="3"> 36+ <replace-default-expression with="0"/> 37+ </modify-argument> 38+ </modify-function> 39 </object-type> 40 <object-type name="QNodeCommand" since="5.10"/> 41 <object-type name="QNodeCreatedChangeBase"/>