Re: [Interest] QSharedPointer and qRegisterMetaType

2015-01-23 Thread Igor Mironchik
On Fri, 23 Jan 2015 20:25:03 +0300, Carsten Schneemann wrote: > Hi Igor, > > if you're using the code quoted in your message then you have simply > registered your pointer class with the wrong type name. If you use > qRegisterMetaType("SharedInt"); > then things should work. Ah, great thanks

Re: [Interest] QSharedPointer and qRegisterMetaType

2015-01-23 Thread Carsten Schneemann
Hi Igor, if you're using the code quoted in your message then you have simply registered your pointer class with the wrong type name. If you use qRegisterMetaType("SharedInt"); then things should work. You should also be careful with typedefs like "SharedInt" for your pointer class. Qt's meta t

[Interest] QSharedPointer and qRegisterMetaType

2015-01-23 Thread Igor Mironchik
Hi. How can I register, for example, QSharedPointer< int > in meta type system. I'm trying to do the following: typedef QSharedPointer< int > SharedInt; qRegisterMetaType< SharedInt > ( "Tick" ); but when I'm trying to connect to such signal as Qt::QueuedConnection type I receive message: QO