QRegisterMetaType for vectors of custom Datatype
-
Hi
I tried the following to access Data over QtDbus
@
qRegisterMetaType<StructA>("StructA");
qRegisterMetaType<std::vector <StructA> >("std::vector <StructA>");
@
I get the following error
‘QMetaTypeId<std::vector<StructA, std::allocator<StructA> > >’Please help me on how to register Std Vector of Custom Datatype