What's the best way to connect to an oracle database? Is it through the OCI plugin? Or is it easier to use ODBC? Where can I get hold of the latest plugin and how do I use it?
What's the best way to connect to an oracle database? Is it through the OCI plugin? Or is it easier to use ODBC? Where can I get hold of the latest plugin and how do I use it?
I don't know until now you can solved this problem. But I was compiled OCI plugins library for Qt5 in last week.
The solution by this step
1. install oracle oci library in oracle client.
2. select example source when you install qt5
3. select oci driver project in C:\Qt\Qt5.0.2\5.0.2\Src\qtbase\src\plugins\sqldriv ers\oci for Qt5 or C:\Qt\2010.05\qt\src\sql\drivers\oci for Qt4.7
Then compile it. you can get oci driver in you qt path.
Bookmarks