Will pay for the MySQL plugin

  • Hi all, Ive spent waaaay too much time trying to build the MySQL plugin. I need the instructions and the plugins for Windows 7 and Mac OS. Im ready to pay for the service.
    If you are available for the job, email me at jelemans@macpacs.com.


  • Hi,

    The source code for the plugin is in qt_install_folder\src\plugins\sqldrivers\mysql\

    You need the libmysql.lib to link and libmysql.dll to execute. The dll's are installed together with mysql. On my version in the "Connector C 6.0.2" folder. There you can find also the necessary includes.

    I have successfully build the plugin on Windows 7 only with VS2008.

  • You have already found the official "build instructions":http://qt-project.org/doc/qt-4.8/sql-driver.html#how-to-build-the-qmysql-plugin-on-windows, haven't you?

  • i successed to compile the mysql driver for qt4.8.1 with mingw and it work for me very good ^^, i hope for you too.
    this a link to the qsqlmysql4.qll, qsqlmysqld4.qll, http://www.mediafire.com/download.php?z1e1ypqhqc96icn.
    just to tell you, i compile under windows 7 64 bits, mysql-5.5.25a-win32.
    after downloading this two dll files copy them to you sqldrivers folder (for me is :C:\QtSDK\Desktop\Qt\4.8.1\mingw\plugins\sqldrivers) then copy the libsql.dll ( you find it in your mysql's lib directory for me is : C:\MYSQL\lib), and paste it in your project directory, and it will work , well i hope so because it work for me like this ^^

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.