Quote Originally Posted by cyberboy View Post
But I don't get it exactly, how can I create another QSQLite database without calling QSqlDatabase::addDatabase(); ?
In that case you must pass a different connection name. Currently you are not passing a connection name at all so the default one, 'qt_sql_default_connection', is used. See QSqlDatabase::addDatabase() docs for more details.

And can I keep somehow the QSqlQuery objects while closing/removing the database?
Nope, you can't.

Or do I have to copy all the information in a QStringList or something?
I guess you don't have to once you define proper connection names so that you'll have a separate connection to each database.