I have a QList with pointers to objects with class type Model. I would like to delete appropriately this QList after it has being used. I
QList
Model
You could use qDeleteAll:
qDeleteAll(lstMdls); lstMdls.clear();