[Interest] how can I call qRegisterMetaType?
Thiago Macieira
thiago.macieira at intel.com
Tue May 17 18:19:18 CEST 2016
On terça-feira, 17 de maio de 2016 20:04:32 PDT Hamish Moffatt wrote:
> On 17/05/16 18:07, Thiago Macieira wrote:
> > On terça-feira, 17 de maio de 2016 17:04:57 PDT Hamish Moffatt wrote:
> >> QMetaProperty::read: Unable to handle unregistered datatype
> >> 'QList<MyEnum>'
> >> for property 'MyClass::myEnumList'
> >>
> >> ie it can't find the type.
> >
> > Fix the point where that read() is called.
>
> That's just QObject::property() ....
Indeed, but where did it get the name? Probably from the Q_PROPERTY
declaration. So add the full qualification there.
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
More information about the Interest
mailing list