Re: [Interest] error when trying to emit custom object via QObject.Signal

2018-08-27 Thread Frank Rueter | OHUfx
Thanks Jerome, it looks like simply declaring "object" as the signal type makes it work. Not sure if this is one of those things that PySide just makes easier, which might be the reason why I haven't found any info or examples on how to "register on meta type" with it. I'm curious about this b

Re: [Interest] error when trying to emit custom object via QObject.Signal

2018-08-27 Thread Jérôme Godbout
You will probably need to have the object declared to the meta type (sorry I don't known the call, but there must be one into PySide 2, you might want to dig into the doc near this https://doc.qt.io/qtforpython/PySide2/QtCore/QMetaObject.html ) and ideally be copiable since you will send the signal

[Interest] error when trying to emit custom object via QObject.Signal

2018-08-27 Thread Frank Rueter | OHUfx
Hi all, I am trying to emit a custom object via QObject.Signal from inside a QRunnable. The object I am trying to emit throws this error: TypeError: Value types used on meta functions (including signals) need to be registered on meta type: /NameSpace:://NameSpace/::Clip I tried to trick