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] QApplication in worker thread

2018-08-27 Thread Thiago Macieira
On Monday, 27 August 2018 11:23:37 PDT Ramakanth Kesireddy wrote: > Thanks a lot for your response. I started the thread through some non-qt > means(using pthread)..Before terminating the thread, would like to ensure > eventloop is exited normally. But when qApp-quit() would take time before > whic

Re: [Interest] QApplication in worker thread

2018-08-27 Thread Ramakanth Kesireddy
On Mon 27 Aug, 2018, 23:32 Thiago Macieira, wrote: > On Monday, 27 August 2018 10:29:14 PDT Ramakanth Kesireddy wrote: > > > It's not recommended. It's required. The QCoreApplication object must > be > > > created in the same thread as the thread that created the first > QObject. > > > Usually. Q

Re: [Interest] QApplication in worker thread

2018-08-27 Thread Thiago Macieira
On Monday, 27 August 2018 10:29:14 PDT Ramakanth Kesireddy wrote: > > It's not recommended. It's required. The QCoreApplication object must be > > created in the same thread as the thread that created the first QObject. > > Usually. QCoreApplication is the first QObject anyway. > > Inside Qt, that

Re: [Interest] QApplication in worker thread

2018-08-27 Thread Ramakanth Kesireddy
On Thu, Aug 16, 2018 at 8:31 PM Thiago Macieira wrote: > On Wednesday, 15 August 2018 21:33:43 PDT Ramakanth Kesireddy wrote: > > Hi, > > > > Am using Qt 4.8.x on embedded Linux. > > I'm ignoring that. The following answer applies to one of the supported > versions of Qt right now. Any difference

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

Re: [Interest] Qt3D GeometryRenderer TriangleStrip

2018-08-27 Thread Sean Harmer
On 27/08/2018 11:18, Volker Enderlein wrote: Am 27/08/2018 um 11:31 schrieb Sean Harmer: On 27/08/2018 07:31, Volker Enderlein wrote: Hi, does the Qt3D GeometryRenderer class support TriangleStrip primitives with restartIndexValue separated Strips? Yes. Set the primitiveType property to Li

Re: [Interest] Qt3D GeometryRenderer TriangleStrip

2018-08-27 Thread Volker Enderlein
Am 27/08/2018 um 11:31 schrieb Sean Harmer: On 27/08/2018 07:31, Volker Enderlein wrote: Hi, does the Qt3D GeometryRenderer class support TriangleStrip primitives with restartIndexValue separated Strips? Yes. Set the primitiveType property to LineStrip and you can specify the restart index

Re: [Interest] Qt3D GeometryRenderer TriangleStrip

2018-08-27 Thread Sean Harmer
On 27/08/2018 07:31, Volker Enderlein wrote: Hi, does the Qt3D GeometryRenderer class support TriangleStrip primitives with restartIndexValue separated Strips? Yes. Set the primitiveType property to LineStrip and you can specify the restart index value with https://doc.qt.io/qt-5/qt3drende

[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

Re: [Interest] qtwebview with qtwebchannel

2018-08-27 Thread Sylvain Pointeau
On Sun, 26 Aug 2018 at 19:47, Artem Sidyakin wrote: > I have an example working with Qt 5.11.1 on Mac OS and Android. > Unfortunately, I cannot check if it works on iOS - that’s why I was > guessing. > could you put your example somewhere in github? so I can try it on ios? Thank you Best regar