Hey,
i have created local firebird database that i want to connect with. Unfortunately I can't make the connection.
Here is my code:
Qt Code:
  1. QString servername = "SYSDBA@localhost";
  2. QSqlDatabase db = QSqlDatabase::addDatabase("QODBC");
  3. db.setHostName(servername);
  4. db.setDatabaseName("D:\\baza\\BAZA.FDB");
  5. db.setUserName("SYSDBA");
  6. db.setPassword("masterkey");
  7. bool ok = db.open();
  8. qDebug() << ok;
To copy to clipboard, switch view to plain text mode 

I would appreciate any help.
Greetings.