A simple question:

Are you sure that OCI Driver is correctly loaded?

try with
Qt Code:
  1. if(!QSqlDatabaseisDriverAvailable("QOCI"))
  2. {
  3. qFatal("Driver not loaded");
  4. }
To copy to clipboard, switch view to plain text mode