[Qt-interest] QVariant and protected structs
andrew.m.goth at l-3com.com
andrew.m.goth at l-3com.com
Wed Apr 22 22:30:35 CEST 2009
Andy Goth wrote:
> How do I make a QVariant that contains a pointer to a struct that is
> protected? Do I really need Q_DECLARE_METATYPE when I'm dealing with
> pointers? Can I use friend declarations?
I wound up putting a void* in the QVariant, which is very disappointing. But at least it works. Is there a better way?
--
Andy Goth
<amgoth at link.com>
More information about the Qt-interest-old
mailing list