Details
-
Bug
-
Resolution: Done
-
P2: Important
-
None
-
5.15.0
-
None
-
-
e9932f6372ff5ad802cefaf8f5ca0109500374be (qt/qtbase/dev), ce3bc0a58 (tqtc/lts-5.15)
Description
OCI uses OCIBindByPos2 from the Oracle SDK that was added in v12.1
This should be stated in the https://doc.qt.io/qt-5/sql-driver.html#how-to-build-the-oci-plugin-on-unix-and-macos
Building fails with 11.2.0.4
d:\_\qt\qt-everywhere-src-5.15.0-beta1\qtbase\src\plugins\sqldrivers>qmake -- OCI_INCDIR=D:\_\oic_11.2.0.4.0_win64\include OCI_LIBDIR=D:\_\oic_11.2.0.4.0_win64\lib\msvc Running configuration tests... ... Checking for OCI (Oracle)... yes ... Configure summary: Qt Sql Drivers: ... OCI (Oracle) ........................... yes d:\_\qt\qt-everywhere-src-5.15.0-beta1\qtbase\src\plugins\sqldrivers>nmake sub-oci ... cl -c -nologo -Zc:wchar_t -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding -Zc:__cplusplus -O2 -Zi -MD -std:c++17 -utf-8 /wd4530 /wd4577 -W3 -w34100 -w34189 -w44996 -w44456 -w44457 -w44458 -wd4577 -wd4467 /Fd.obj\release\qsqloci.vc.pdb -DUNICODE -D_UNICODE -DWIN32 -D_ENABLE_EXTENDED_ALIGNED_STORAGE -DWIN64 -DQT_NO_LINKED_LIST -DQT_NO_JAVA_STYLE_ITERATORS -DQT_DEPRECATED_WARNINGS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DNDEBUG -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SQL_LIB -DQT_CORE_LIB -D_WINDLL -I. -ID:\_\qt\Qt5.15.0\5.15.0\msvc2019_64\include\QtSql\5.15.0 -ID:\_\qt\Qt5.15.0\5.15.0\msvc2019_64\include\QtSql\5.15.0\QtSql -ID:\_\qt\Qt5.15.0\5.15.0\msvc2019_64\include\QtCore\5.15.0 -ID:\_\qt\Qt5.15.0\5.15.0\msvc2019_64\include\QtCore\5.15.0\QtCore -ID:\_\qt\Qt5.15.0\5.15.0\msvc2019_64\include -ID:\_\qt\Qt5.15.0\5.15.0\msvc2019_64\include\QtSql -ID:\_\qt\Qt5.15.0\5.15.0\msvc2019_64\include\QtCore -I.moc\release -ID:\_\oic_11.2.0.4.0_win64\include -IC:\openssl\include -IC:\Utils\my_sql\mysql-5.7.25-winx64\include -IC:\Utils\postgresql\pgsql\include -ID:\_\qt\Qt5.15.0\5.15.0\msvc2019_64\mkspecs\win32-msvc -Fo.obj\release\ @C:\Users\xxx\AppData\Local\Temp\nm945D.tmp qsql_oci.cpp .\qsql_oci.cpp(1559): error C3861: 'OCIBindByPos2': identifier not found ...
Attachments
Issue Links
- relates to
-
QTBUG-71001 Build error - 'OCIBindByPos2' was not declared in this scope
-
- Closed
-