[Development] The future of smart pointers in Qt API

Konrad Rosenbaum konrad at silmor.de
Mon Feb 3 15:33:41 CET 2020


On 2020-02-03 15:04, Vitaly Fanaskov wrote:
> We don't need this method at all if everything is implemented with using
> smart pointers.

What about the case when I want to delete a Widget from my window 
without closing the window?

I often use deleteLater() because it is much easier than remembering a 
dozen layers of layouts and widgets that simply serve some 
layouting-purpose.


Konrad



More information about the Development mailing list