Hi,
I'm trying to do what the title suggests...
QList<Custom> L;
QVariant v(QVariant::fromValue(l));
QDataStream d;
d << v;
The problem seems to be that d doesn't know how to stream v, because v doesn't know how to do a metatype save on L. I have registered Custom and L as metatypes and I've also registered their IO streams, but L has no meta object, and I think that is the problem.
Can I get around this somehow?
Bookmarks