Details
-
Bug
-
Resolution: Won't Do
-
P4: Low
-
None
-
6.5.2
-
None
-
f762506f9 (dev), 247c14cf3 (6.5), 95cb332c3 (tqtc/lts-6.2)
Description
For some reason non-slot connections do not work if a QML element implemented in Python is used as a component in QML.
Scenario:
- A QObject registered to QML has a signal
- It connects the signal to its own slots/non-slot methods
- One of its slots is triggered by QML . The handler emits the signal
Observation:
- The non-slots methods are not called
- The automatic registration of non-slot methods fails/causes a nested QMetaObject to be created
A minimal example is attached, output:
qml: trigger item
called myMethodSlot()
called onXChangedSlot()
qml: trigger item2
called myMethod()
called myMethodSlot()
called onXChanged()
called onXChangedSlot()
Attachments
Issue Links
- relates to
-
PYSIDE-463 Document PYSIDE-315 implications
- Open