[Solved] Problems with building MySQL Driver

  • Hi

    I'm new to this whole Qt thing and I've been trying to build the MySQL driver today (the whole day, actually).

    This is what I do:

    Windows 7 64 bit

    Qt 5.1.1 + sources installed

    MySQL 5.6.X installed (using 32bit files from zip distribution)

    Using MinGW shipped with Qt (4.8 I think)

    Using Qt shell from start menu

    set mysql=D:\Qt\Qt5.1.1\mysql-5.6.15-win32
    cd /D D:\Qt\Qt5.1.1\sources\qtbase\src\plugins\sqldrivers\mysql
    qmake -o Makefile "INCLUDEPATH+=%mysql%\include" "LIBS+=%mysql%\lib\libmysql.a" mysql.pro

    ---No errors---


    I get this:


    No errors in this mess, but I see no .dll and .a files created anywhere in the current folder.
    Any tips? What's happening?

    There files are supposed to appear in D:\Qt\Qt5.1.1\sources\qtbase\src\plugins\sqldrivers:





  • Nevermind,
    "mingw32-make install" showed me that I was looking in the wrong folder, the files were created just fine.

Log in to reply

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