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/sqldriverswhen I try to debug mysql.pro I get this error:
cannot find -libmysql
error: Id returned 1 exit statusI 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?