I have read from the Qt documentations about QPointer, QSharedPointer and QWeakPointer classes. It says:
QPointer
QSharedPointer
QWeakPointer
QPointer<
std::shared_ptr
std::weak_ptr
QScopedPointer
std::unique_ptr