Hi,
I got a compiler error when i tried to emit QSharedPointer
QObject::connect: Cannot queue arguments of type 'QSharedPointer<MyClass>'. So i tried this

Q_DECLARE_METATYPE(QSharedPointer<MyClass> >); and
qRegisterMetaType<QSharedPointer<MyClass> > ("MyClassSharedPointer");

But still i get the warning. How to register the QSharedPointer class.