数据库
首页 > 数据库> > QSqlDatabase db = QSqlDatabase::addDatabase("QOCI"); qocidriver unable to create environm

QSqlDatabase db = QSqlDatabase::addDatabase("QOCI"); qocidriver unable to create environm

作者:互联网

QSqlDatabase db = QSqlDatabase::addDatabase("QOCI");  qocidriver unable to create environment

 


C:\oracle\product\10.2.0\db_1\BIN;
%SystemRoot%\system32;
%SystemRoot%;
%SystemRoot%\System32\Wbem;
%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;
C:\mysql-5.7.24-win32\bin;
C:\Qt\Qt5.9.9\5.9.9\mingw53_32\bin

 

ORACLE_HOME
C:\oracle\product\10.2.0\db_1

ORACLE_SID
orcl

 

qtqocidriver unable create environment

 

windeployqt 生成文件


oracle客户端文件 windeployqt 客户端文件 拷贝过来

oracle客户端安装目录oci oraociei11.dll
安装目录下

 

windeployqt
enigma

标签:QOCI,addDatabase,create,db,environment,SystemRoot%,oracle,QSqlDatabase
来源: https://www.cnblogs.com/ruiy/p/15692781.html