Hi,
i'm trying to connect my ORACLE db, i already compiled the plugin and now i'm trying the following code:

Qt Code:
  1. #include <QCoreApplication>
  2. #include <QtGui>
  3. #include <QtSql>
  4. #include <QDebug>
  5.  
  6. #include "mainwindow.h"
  7.  
  8. int main(int argc, char *argv[])
  9. {
  10. QCoreApplication myApp(argc, argv);
  11.  
  12. db.addDatabase("QOCI");
  13. db.setHostName("in13");
  14. db.setDatabaseName("RFV75");
  15. db.setUserName("RFVDB19");
  16. db.setPassword("RFVDB19");
  17. db.setPort(1521);
  18. if (db.open())
  19. qDebug("open");
  20.  
  21.  
  22. return myApp.exec();
To copy to clipboard, switch view to plain text mode 

but not connecting and no error in the output
please help