Details
-
Bug
-
Resolution: Fixed
-
Not Evaluated
-
None
-
6.7.2
-
None
-
qt-cmake/cmake version 3.23.3
Description
I followed the documentation Building SQL modules and run
```cmd
qt-cmake -G "Visual Studio 17 2022" D:\Qt\6.7.2\Src\qtbase\src\plugins\sqldrivers -DCMAKE_INSTALL_PREFIX=D:\Qt\6.7.2\msvc2019_64 -DOracle_INCLUDE_DIR=C:\Users\DELL\Downloads\WINDOWS.X64_193000_db_home\oci\include -DOracle_LIBRARY=C:\Users\DELL\Downloads\WINDOWS.X64_193000_db_home\oci\lib\msvc\oci.lib
```
in Qt 6.7.2 (MSVC 2019 64-bit) command line prompt. Then, I ran `cmake --build .` and it shows
```text
Checking Build System
Automatic MOC for target QOCIDriverPlugin
Generating RelWithDebInfo/QOCIDriverPlugin_resource.rc
Generating Debug/QOCIDriverPlugin_resource.rc
Building Custom Rule D:/Qt/6.7.2/Src/qtbase/src/plugins/sqldrivers/oci/CMakeLists.txt
cl : Command line error D8016: “/O2” and “/RTC1” command-line options are incompatible [E:\...\build-sqldrivers\oci\QOCIDriverPlugin.vcx
proj]
```