Quote Originally Posted by space_otter View Post
Should I use QList<MyClass> or QList<MyClass *>? And why doesn't QList support abstract classes? Isn't that an important feature?
QList doesn't support abstract classes, but pointers to abstract classes are no problem. You cannot instantiate an abstract class and QList has to be able to create the objects to work properly. If you are looking into storing abstract classes you will have to resort to pointers in a QList. I'm pretty sure the std containers don't handle them either.