Installing QT plain is no problem, but when you've got to recompile QT with a MySQL driver plugin? Confusing. And when I do run configure, Qt registers my MySQL driver, but when I attempt to run mingw32-make, this abomination shows up on my command prompt:
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
Here are my specs:
- Windows 7 Nokia's Open Source QT
- Qt SDK for Windows (C:\Qt\2010.04\qt)
- Linux MinGW Version 5.1.6 (C\Linux\MinGW)
- MySQL5 with C++ files (C:\MySQL5)
And my environmental variables:
QMAKESPEC win32-g++
QTDIR C:\Qt\2010.04\qt
Path C:\Linux\MinGW\bin;%C:\Linux\Cygwin\bin;C:\MySQL5\bin
These sites each have their own method of doing this. I tried following them, but failed
http://www.qtcentre.org/wiki/index.php?title=Building_the_QMYSQL_plugin_on_Windows_using_mingw
http://jeethurao.com/blog/?p=18.
Assist me in allowing me to use the MySQL driver plugin.
Thanks for your time.