[Interest] QHash memory management

Giuseppe D'Angelo dangelog at gmail.com
Tue Aug 5 23:50:57 CEST 2014

On 5 August 2014 23:24, preeteesh kakkar <preeteesh.kakkar at gmail.com> wrote:
> Yes, you do need to delete them. You can keep them as scoped_ptr instead of
> raw pointer.

You can't use scoped / unique ptr inside of a Qt container because
they're not copiable. A shared pointer works, though.

Giuseppe D'Angelo

More information about the Interest mailing list