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.
Bookmarks