[Qt-interest] Store a QVariant in a QVariant
BOUCARD Olivier
boucard_olivier at yahoo.fr
Mon Sep 19 17:52:19 CEST 2011
Hi all,
Basically, what I want to achieve its to store a QVariant A, which stores a value of type X, in a QVariant B in way that B.typeName() return "QVariant" and not "X".
I do not know if it is feasible. I try to force the type using QVariant::fromValue but it does not work.
Any comment is welcome.
Thanks,
Olivier.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110919/f750a6ab/attachment.html
More information about the Qt-interest-old
mailing list