Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.6, 5.9, 5.11.2
-
1b77fc5931bf14b2a9e936a8d08334d9e00ffe7e (pyside/pyside-setup/5.12)
Description
In PyQt5 you would do:
from PyQt5.QtCore import pyqtSignal sumResult = pyqtSignal(int, arguments=['sum']) sumResult.emit(42)
And then in QML:
onSumResult: console.log(sum)