I did it so, but when I try to log to the DB I receive the following error:
QSqlDatabase: QOCI driver not loaded
QSqlDatabase: available drivers: QSQLITE QODBC3 QODBC
So I thought that I should instalL this OCI driver. But I have the previous problems. And I don't know what to do?