Configuring Qt5.1.1 and mydql 5.6.



  • Hello all,

    I have compiled mysql driver using mingw32-make and got the following four files:
    a.)libqsqlmysql.a
    b.)libqsqlmysqld.a
    c.)qsqlmysql.dll
    d.)qsqlmysqld.dll.
    in the following directory:
    c:/qt/5.1.1/src/qtbase/src/plugins/sqldrivers

    when I try to debug mysql.pro I get this error:
    cannot find -libmysql
    error: Id returned 1 exit status

    I have added these lines to the .pro file
    LIBS+=C:/SERVER/MYSQL/LIB/libmysql.lib
    INCLUDEPATH+=C:/SERVER/MYSQL/include.

    What might be the problem?


Log in to reply
 

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