Accessing remote oracle database method to get service id!

  • I want to develop a user login to remote oracle database where user enters username,password, ip address, port number and service id! I found methods for username,password, ipaddress and portno! But I need method to get service ID! what are they?

    QSqlDatabase mydb = QSqlDatabase::addDatabase ("QSQLITE");
    mydb.setHostName (""); //ip address
    mydb.setDatabaseName ("my_databwwase");
    mydb.setUserName ("my_username");
    mydb.setPassword ("my_password");

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.