Thank you. But I don't undertand why if I close the connection with close() and then remove qt says "qt_sql_default_connection still active".
In other words, I cannot shut down a connection?
Anyway, I will try tomorrow and let you know my results.