按照网上找到的资料正常编译了,也就是:
打开Qt Command Prompt,开始菜单→程序→QT目录→Qt Command Prompt
set INCLUDE=%INCLUDE%;D:\oraclexe\app\oracle\product\10.2.0\server\OCI\include
set LIB=%LIB%;D:\oraclexe\app\oracle\product\10.2.0\server\OCI\lib\MSVC
cd %QTDIR%\src\plugins\sqldrivers\oci
set PATH=%PATH%;D:\oraclexe\app\oracle\product\10.2.0\server\BIN
qmake “INCLUDEPATH+=D:\oraclexe\app\oracle\product\10.2.0\server\OCI\include” “LIBS+=-LD:\oraclexe\app\oracle\product\10.2.0\server\OCI\lib\MSVC” oci.pro
之前都没有问题,但是到了mingw32-make和mingw32-make -f Makefile.Release出问题了,mingw32-make以后错误如下:
sbs -c winscw_udeb.mwccinc
sbs: error: tool 'MWLD' from config 'none' did not return version 'Version 3.2.*
' as required.
Command 'mwldsym2.exe -version' returned:
/bin/bash: mwldsym2.exe: command not found
Check your environment and configuration.
sbs: error: tool 'MWCC' from config 'none' did not return version 'Version 3.2.*
' as required.
Command 'mwccsym2.exe -version' returned:
/bin/bash: mwccsym2.exe: command not found
Check your environment and configuration.
sbs: error: tool 'MWWINRC' from config 'none' did not return version 'Version 3.
2.*' as required.
Command 'mwwinrc.exe -version' returned:
/bin/bash: mwwinrc.exe: command not found
Check your environment and configuration.
sbs : warnings: 0
sbs : errors: 3
built 'winscw_udeb.mwccinc'
Run time 3 seconds
sbs: build log in C:\QtSDK\Symbian\SDKs\Symbian3Qt474\epoc32\build\Makefile.2011
-12-14-17-14-56.18-6640.log
make: *** [debug-winscw] Error 1
在本地上根本找不到提示所说的那几个可执行文件。。求助啊。这个问题折磨我一天了!
------解决方案--------------------
敢不敢有大神指导回答??
------解决方案--------------------
你用的是什么编译器 vc 还是mingw32? mingw32的话还得安装哈
------解决方案--------------------
我用的是Qt Createor
还要安装mingw32? 我一开始安装的就是QtSDK了,应该mingw32和msvc2008 都安了!
------解决方案--------------------
我用的是Qt Createor
还要安装mingw32? 我一开始安装的就是QtSDK了,应该mingw32和msvc2008 都安了!
------解决方案--------------------
mwldsym2.exe
mwwinrc.exe
没有这两个exe
------解决方案--------------------
oqrjwerjwefsgnerltwlmrf;ewdfwmrwererlewlq;
------解决方案--------------------
LZ 我在弄qt连接oracle的,还不知道怎么弄,可以留下QQ,请教下么?
------解决方案--------------------
修改Makefile.Release
LIBS加 -L"C:\oraclexe\app\oracle\product\10.2.0\server\OCI\lib\MSVC"
INCPATH加 -I"C:\oraclexe\app\oracle\product\10.2.0\server\OCI\include"