Собираю QOCI согласно документации:
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
nmake выдаёт ошибку (запускаю из командной строки vc):
C:\QtSDK\QtSources\4.7.4\src\plugins\sqldrivers\oci>nmake
Microsoft (R) Program Maintenance Utility Version 8.00.50727.42
Copyright (C) Microsoft Corporation. All rights reserved.
"C:\Program Files\Microsoft Visual Studio 8\VC\BIN\nmake.exe" -f Makefil
e.Debug
Microsoft (R) Program Maintenance Utility Version 8.00.50727.42
Copyright (C) Microsoft Corporation. All rights reserved.
cl -c -nologo -Zm200 -Zc:wchar_t- -Zi -MDd -GR -EHsc -W3 -w34100 -w34189
-DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_NO_CAST_TO_ASCII -DQT_NO_CAST_FRO
M_ASCII -DQT_DLL -DQT_PLUGIN -DQT_SQL_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_
3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -I"c:\Qt
SDK\Desktop\Qt\4.7.4\msvc2008\include\QtCore" -I"c:\QtSDK\Desktop\Qt\4.7.4\msvc2
008\include\QtSql" -I"c:\QtSDK\Desktop\Qt\4.7.4\msvc2008\include" -I"c:\QtSDK\De
sktop\Qt\4.7.4\msvc2008\include\ActiveQt" -I"debug" -I"c:\QtSDK\Desktop\Qt\4.7.4
\msvc2008\mkspecs\default" -Fodebug\ @C:\DOCUME~1\EGONCE~1\LOCALS~1\Temp\nm4C9.t
mp
main.cpp
c:\qtsdk\qtsources\4.7.4\src\plugins\sqldrivers\oci\../../../sql/drivers/oci/qsq
l_oci.h(47) : fatal error C1083: Cannot open include file: 'QtSql/private/qsqlca
chedresult_p.h': No such file or directory
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 8\VC\BIN\c
l.EXE"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 8\VC\BIN\n
make.exe"' : return code '0x2'
Stop.