A guy of an other forum helped me finding the solution:

Qt Code:
  1. db.setDatabaseName(QApplication::applicationDirPath() + QDir::separator() + "gmcdb");
To copy to clipboard, switch view to plain text mode 

Bye