• 6311阅读
  • 8回复

编译QT源码是的QT可以访问ORACLE数据库? [复制链接]

上一主题 下一主题
离线haday
 
只看楼主 倒序阅读 楼主  发表于: 2009-12-09
编译QT源码是的QT可以访问ORACLE数据库?
How to Build the OCI Plugin on Windows
Choosing the option "Programmer" in the Oracle Client Installer from the Oracle Client Installation CD is sufficient to build the plugin.
Build the plugin as follows (here it is assumed that Oracle Client is installed in C:\oracle):
   set INCLUDE=%INCLUDE%;c:\oracle\oci\include
   set LIB=%LIB%;c:\oracle\oci\lib\msvc
   cd %QTDIR%\src\plugins\sqldrivers\oci
   qmake oci.pro
   nmake
这上面说 %QTDIR%\src\plugins\sqldrivers\oci,而我下载的QT4.4.3的\src\plugins\sqldrivers下没有这个目录,怎么办,这一步是不是在编译完QT之后再做的,哪位大哥能详细的讲一下!万分感激了!!!
[ 此帖被haday在2009-12-09 22:43重新编辑 ]
离线zzh

只看该作者 1楼 发表于: 2009-12-10
不能吧
离线haday
只看该作者 2楼 发表于: 2009-12-10
就是说我下的QT源码包中怎么没有\src\plugins\sqldrivers\oci?是不是要单独下载?
离线zzh

只看该作者 3楼 发表于: 2009-12-10
不用下载呀,我的QT目录就有这个,你从那下载呀?
离线haday
只看该作者 4楼 发表于: 2009-12-10
离线zzh

只看该作者 5楼 发表于: 2009-12-11
在官方网站再重新下载一下吧
离线haday
只看该作者 6楼 发表于: 2009-12-11
离线haday
只看该作者 7楼 发表于: 2009-12-11
据说商业版的才提供oci的驱动,哪位有商业版的,能悄悄提供以下,不甚感激!!!
[ 此帖被haday在2009-12-11 22:01重新编辑 ]
离线aichibanli
只看该作者 8楼 发表于: 2009-12-15
引用楼主haday于2009-12-09 22:16发表的 编译QT源码是的QT可以访问ORACLE数据库? :
编译QT源码是的QT可以访问ORACLE数据库?
How to Build the OCI Plugin on Windows
Choosing the option "Programmer" in the Oracle Client Installer from the Oracle Client Installation CD is sufficient to build the plugin.
Build the plugin as follows (here it is assumed that Oracle Client is installed in C:oracle):
   set INCLUDE=%INCLUDE%;c:oracleociinclude
.......


我不能用nmake,这是为什么,其它都可以,就到nmake就不行了?
快速回复
限100 字节
 
上一个 下一个