[Qt-interest] Constructing a QEnum with only a metatypeid.
MARTIN Pierre
hickscorp at gmail.com
Mon Aug 8 20:43:06 CEST 2011
Hello,
Regarding my previous post, it may be too complicated after all. Below is a simplified version of the question…
Can someone provide me with an example of code showing how to construct a QVariant "v", based on a given QVariant::UserType "t" where "t" refers to a type registered for an enum type? Then when using qDebug() << v; i expect the type as well as the value to appear in stdout...
i don't think i can go for a more simple question :)
Thanks,
Pierre.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110808/27389fe4/attachment.html
More information about the Qt-interest-old
mailing list