PDA

View Full Version : Qt4 with MySQLon Win XP link error



FumblesMacStupid
7th May 2011, 19:17
hi,

I got a big 'ol problem building Qt4 with MySql driver support.
my machine is an Intel Windows 32 bit computer, running XP SP3. I'm using Visual Studio 2005 Professional SP1. MySql version 5.5.11 win 32 is running on my computer.

I tried compiling Qt4 with sql support according to several directions found on the web. Including the FAQ on qtcentre using the VS2005 command prompt.

Qt did compile before with these options:



configure -platform win32-msvc2005 -no-qt3support -no-webkit


Now it doesn't with either of these options:



configure -platform win32-msvc2005 -no-webkit -no-qt3support -qt-sql-mysql -qt-sql-odbc -qt-sql-sqlite -debug-and-release -I "C:\Programme\MySQL\MySQL Server 5.5\include" -L "C:\Programme\MySQL\MySQL Server 5.5\lib"

configure -platform win32-msvc2005 -no-webkit -no-qt3support -qt-sql-mysql -I "C:\Programme\MySQL\MySQL Server 5.5\include" -L "C:\Programme\MySQL\MySQL Server 5.5\lib"

configure -platform win32-msvc2005 -buildkey win32-msvc2005 -qt-sql-odbc -qt-sql-sqlite -qt-sql-mysql -qt-gif -qt-libpng -qt-libtiff -qt-libjpeg -no-webkit

configure -platform win32-msvc2005 -buildkey win32-msvc2005 -qt-sql-odbc -qt-sql-sqlite -qt-sql-mysql -no-webkit

configure -platform win32-msvc2005 -no-webkit -no-qt3support -qt-sql-mysql -qt-sql-odbc -qt-sql-sqlite -debug-and-release -I "C:\Programme\MySQL\MySQL Server 5.5\include" -L "C:\Programme\MySQL\MySQL Server 5.5\lib"

configure -platform win32-msvc2005 -no-qt3support -qt-sql-mysql -I "C:\Programme\MySQL\MySQL Server 5.5\include" -L "C:\Programme\MySQL\MySQL Server 5.5\lib"


Always get an error message like this:

http://imageshack.us/photo/my-images/31/qtcommandprompterror.jpg/


Always used

nmake confclean
before reconfiguring. BTW the above mentioned configurations are not all I tried, but all I documented.

Hope that someone knows an answer.

Best Regards