Quote Originally Posted by vr View Post
Hi,
I did a few plugin rebuilt, qt reinstall, in different combinations but the result is always the same...
vr
I use Mingw compiler e QT3-4 from 2 years a go ... i never successful build mysql driver after qt installation...

I integrate mysql lib to Mingw lib && include dir and run perfect...
and QtSql4.dll go to 737 KB


Qt Code:
  1. mysql lib dir ....
  2. reimp -d libmysql.lib
  3. dlltool -k --input-def libmysql.def --dllname libmysql.dll --output-lib libmysql.a
  4. dlltool --input-def libmysql.def --dllname libmysql.dll --output-lib c:\MINGW\lib\libmysql.a
  5. /* move mysql include to MINGW\include\*/
  6. /*
  7. cd qtdir
  8. configure -qt-sql-mysql -qt-sql-odbc -qt-sql-sqlite -qt-gif -qt-libpng -qt-libjpeg
  9.  
  10. */
To copy to clipboard, switch view to plain text mode