[Interest] QVariant register custom types: performance impact
Michael Dougras Silva
micdoug.silva at gmail.com
Tue Apr 21 00:47:38 CEST 2015
Hi,
I'm coding a system and I need to store objects of different classes in a
single container. To accomplish this I'll use the QVariant class.
I'm using 12 classes. What is the best approach: register each class in the
QVariant metatype system or define a shared parent class for all classes
and register this parent class?
Are there performance impacts at registering many custom types in the
QVariant metatype system?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20150420/13489769/attachment.html>
More information about the Interest
mailing list