安装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驱动程序插件。
谢谢你抽出时间。