Unsolved Qt pointers container destorying
-
Hi!
Does qt pointer container clean up data which it point to. I mean, if have created QList<int*> or QVector<char*> object, and than destructor for thous objects is called, will it delete data as well as pointers to it, or I need to do it explicitly? -
Hi,
No it doesn't, use qDeleteAll before clearing your list