The description of QSqlDatabase::~QSqlDatabase should be extended:
Destroys the object and frees any allocated resources.
It should also be mentioned that it implicitly calls close() to properly release the DB connection when the last connection alias is released. So the programmer has not to worry about that.
I think this is important to mention.