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