安裝qt-plain沒問題,但是當您需要用mysql驅動程式插件重新編譯qt時?令人困惑的。當我運作configure時,qt會注冊我的mysql驅動程式,但是當我嘗試運作mingw32 make時,這個讨厭的東西會出現在我的指令提示符上:
g++.exe: ....corelibcodecsqisciicodec.cpp: No such file or directory
g++.exe: no input files
mingw32-make[2]: *** [tmp/obj/release_shared/qisciicodec.o] Error 1
mingw32-make[2]: Leaving directory 'C:/Qt/2010.04/qt/src/tools/bootstrap'
mingw32-make[1]: *** [release Error 2]
mingw32-make[1]: Leaving directory 'C:/Qt/2010.04/qt/src/tools/bootstrap'
mingw32-make: *** [sub-tools-bootstrap-make_default-ordered] Error 2
以下是我的規格:
Windows 7諾基亞開源qt
用于Windows的Qt SDK(C:\qt\2010.04\qt)
Linux mingw版本5.1.6(c\linux\mingw)
McSqL5與C++檔案(C:MySQL)
我的環境變量:
QMAKESPEC win32-g++
QTDIR C:\Qt\2010.04\qt
Path C:\Linux\MinGW\bin;%C:\Linux\Cygwin\bin;C:\MySQL5\bin
幫助我使用MySQL驅動程式插件。
謝謝你抽出時間。