Hi,

My object is derived from QObject, which have copy construction and assignment op disable.

I try to let QVairant know it by using:
Q_DECLARE_METATYPE(MyClass *)

In another class that has a member field of the MyClass, and I define as:
Q_PROPERTY( MyClass* tvd READ tvd WRITE setTVD )

However, when reading the obj use QMetaProperty::read( obj ), it complains
QMetaProperty::read: Unable to handle unregistered datatype "MyClass*' for property..

How do I actually register a pointer?

Thanks