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