On Sun, Apr 29, 2012 at 5:47 PM, Phil Thompson
wrote:
>> I have tried passing return value in the decorator (return=int...).
>>
>> Any clues where to look?
>
> Have you got a complete test that demonstrates the problem?
Now I do, but when I went about to create that minimal example it
started wo
On Sat, 28 Apr 2012 00:57:47 +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.
>
> Code for the Q
On Sat, Apr 28, 2012 at 1:10 AM, Andrew Suffield
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
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
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.
Code for the QObject subclass (that I expose with setContextProperty)
is like this:
===
f