8.1.  Values and Objects

[ fromfile: valueobject.xml id: valueobject ]

[Tip] No Heap Value Types

There is never a good reason to create a QList, QString, QHash, QImage, or any other QVariant-related type on the heap. Don't do it. Let Qt do the reference counting and memory management for you.