QSharedPointer is a Qt class which holds a strong reference to a shared pointer.
Introduced in Qt 4.5 QSharedPointer class represents a strong reference to a shared pointer. It is similar to boost::shared_ptr or std::shared_ptr.
The QSharedPointer is an automatic, shared pointer in C++. It is thread-safe and operates atomically on the pointer value.
QSharedPointer holds a shared pointer by means of an external reference count.
Official Qt documentation can be found here for Qt 4.8 and here for Qt 5.