qt5.8 + vs2015 编译 qoci 驱动 Project ERROR: Library 'oci' is not defined
来源:互联网 发布:淘宝批量购买软件 编辑:程序博客网 时间:2024/05/16 14:59
第一步:找到你的qoci源代码路径
如本人电脑:D:\Qt\Qt5.8.0\5.8\Src\qtbase\src\plugins\sqldrivers\oci
第二步:修改原有工程文件
把 oci.pro 里的 QMAKE_USE += oci 改为 QMAKE_LFLAGS += oci.lib
原有工程编译时会产生 Project ERROR: Library 'oci' is not defined 错误
第三步:生成 vs2015 工程
打开命令行窗口,定位到qoci源代码目录
如本人电脑:cd D:\Qt\Qt5.8.0\5.8\Src\qtbase\src\plugins\sqldrivers\oci
之后通过qmake生成vs工程文件: qmake -tp vc oci.pro
第三四:修改vs工程配置
把oracle的 oci 库目录加入到工程配置中
D:\app\slh\product\11.2.0\dbhome_1\OCI\lib\MSVC
D:\app\slh\product\11.2.0\dbhome_1\OCI\include
第五步:生成qoci库,如下图
第六步:将qoci库拷贝到 D:\Qt\Qt5.8.0\5.8\msvc2015\plugins\sqldrivers 目录中,大功告成!
阅读全文
0 0
- qt5.8 + vs2015 编译 qoci 驱动 Project ERROR: Library 'oci' is not defined
- Redhat 6.6 + Qt5.5 编译QOCI驱动
- $ is not defined error
- $ is not defined error
- QT QOCI驱动编译
- Qt5.8.0 mingw 编译QOCI
- QT5.7 编译oracle驱动oci centos7
- Win7下编译Qt5.4OCI驱动和MySQL驱动
- Qt5.3.1编译QOCI链接oracle
- Qt5.8以上版本编译Oracle数据库的OCI驱动教程
- Qt5.8以上版本编译Oracle数据库的OCI驱动教程
- win7 qt5 oracle11g 64位下编译oci驱动
- Name error name admin is not defined
- 终于编译好了qt的oracle驱动QOCI,连接driver not loaded解决方法
- 编译qt的oracle驱动QOCI
- Apktool编译出现“error: Public symbol aaa/bbb declared here is not defined.”的解决办法
- Android Studio中提示:Project SDK is not defined
- Android Studio中提示:Project SDK is not defined
- XML的dom4j解析器测试
- ==和equals的区别
- save与Update的合并操作
- Bad Hair Day -- 3250poj 单调栈
- 自定义Toast之类(悬浮窗)的坐标位置偏差以及显示时长
- qt5.8 + vs2015 编译 qoci 驱动 Project ERROR: Library 'oci' is not defined
- 中级c代码剖析
- 指数平滑法.
- LeetCode-235. Lowest Common Ancestor of a Binary Search Tree (Java)
- idea 破解
- Altium 怎么设置鼠标滚轮放大缩小
- BZOJ 1003-物流运输(DP+spfa)
- 磁盘缓存和内存缓存的区别
- LeetCode Add Two Numbers 之JavaScript 多种解法