[PyQt] pyqtSlot, getting "undefined" return values when called from qml javascript

Andrew Suffield asuffield at suffields.me.uk
Fri Apr 27 23:10:03 BST 2012


On Sat, Apr 28, 2012 at 12:57:47AM +0300, Ville M. Vainio wrote:
> I have a qml file invoking methods on a QObject subclass. I have used
> @pyqtSlot decorator to expose the methods as slots.
> 
> I can see that the methods are run; however, the return values seem to
> be discarded.

Qt slots don't return anything...


More information about the PyQt mailing list