Should I use
QList<QObject derived class *>
orQList<SomeQTSmartPointer<QObject derived class>>
or something else?
Both are fine, but it is better to stick to the former through the Qt parent/child mechanism in general. This would be the most Qt'ish way of managing it in general:
QList<MyClass*> list;
list.append(new MyClass(parent);
You could also use Qt smart pointers like QPointer, QScopedPointer or QSharedPointer as follows:
QList<QShardPointer<MyClass> > list;
// Being explicit to be more comprehensive, but it is not necessary
list.append(QSharedPointer<MyClass>(new MyClass());
This will work with both pre C++11 and post.