Do we required to call qDeleteAll if the QList is of QSharedPointer?

We have qList having raw pointers, we are replacing our raw pointers with QSharedPointer.
If we have QList<QSharedPointer<Foo>>, then do we required to call qDeleteAll on that QList?
or it will be automatically taken care by Qt? As we are getting error if we try to call qDeleteAll on list of QSharedPointer.