Okay, but I know the connectionName.

Qt Code:
  1. dB.removeDatabase("qt_sql_default_connection");
To copy to clipboard, switch view to plain text mode 

I understand why but really stucked on the question from where to call that ominous removeDatabase()

Cheers, Lars