Hello!
I'm trying to connect to a remote Oracle database using Qt without success. The returned errors are "QOCIDriver: unable to create environment problem" and and error returned by lastError().text() is "Unable to logon". I'ld guess that's simply some problem in the data passed as configuration, but it's not: I checked it dozens of times. It's interesting to point out that I'm able to ping the remote server and a friend of mine did a testing application using MVS that was able to conenct to the database. I do have the QOCI driver etc.. The connection code is the sabe, basic code used in any example of connection to a database with Qt. What could be the problem? Unfortunately I don't get any other error message apart from these two when running in debug mode.
bug XXX.png
I'm glad for any help!
Momergil
Added after 1 48 minutes:
Ok, it seems I found the answer in this post: http://www.qtcentre.org/threads/4888...te-environment
I read it first, but I didn't think that I needed to download that "Instant Client" things that ChrisW67 talked about and put it in the same folder as my application.
Momergil
Bookmarks