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:

Qt Code:
  1. configure -platform win32-msvc2005 -no-qt3support -no-webkit
To copy to clipboard, switch view to plain text mode 

Now it doesn't with either of these options:

Qt Code:
  1. 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"
  2.  
  3. 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"
  4.  
  5. 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
  6.  
  7. configure -platform win32-msvc2005 -buildkey win32-msvc2005 -qt-sql-odbc -qt-sql-sqlite -qt-sql-mysql -no-webkit
  8.  
  9. 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"
  10.  
  11. 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"
To copy to clipboard, switch view to plain text mode 

Always get an error message like this:
[IMG]
http://imageshack.us/photo/my-images...ompterror.jpg/
[/IMG]

Always used
Qt Code:
  1. nmake confclean
To copy to clipboard, switch view to plain text mode 
before reconfiguring. BTW the above mentioned configurations are not all I tried, but all I documented.

Hope that someone knows an answer.

Best Regards