Top "Qsharedpointer" questions

QSharedPointer is a Qt class which holds a strong reference to a shared pointer.

What is the difference between QPointer, QSharedPointer and QWeakPointer classes in Qt?

I have read from the Qt documentations about QPointer, QSharedPointer and QWeakPointer classes. It says: QPointer is a template class …

c++ qt pointers qsharedpointer qpointer
QSharedPointer, how to pass them around, and do I need them?

Been trying to understand shared pointer for a few days now and it feels like I cant seem to get …

c++ qt pointers shared-ptr qsharedpointer
Difference between QSharedPointer and QSharedDataPointer?

What is the difference between these two types of pointers? As far as I can read, QSharedPointer can handle situation …

c++ qt pointers qsharedpointer
Does Qt applications have automatic garbage collection?

I am researching this but I don't see a conclusive answer. Does a Qt widget application clean up the memory …

c++ qt memory-leaks garbage-collection qsharedpointer