I'm trying to build the qt mysql driver plugin. i already have mysql(xampp) installed. The .pro file is in
C:\myTools\Qt\QtSDK\QtSources\4.8.1\src\plugins\sq ldrivers\mysql
. This is a copy of my .pro file

Qt Code:
  1. TARGET = qsqlmysql
  2. SOURCES = main.cpp
  3. include(../../../sql/drivers/mysql/qsql_mysql.pri)
  4. INCLUDEPATH += C:/myTools/xampp/mysql/include
  5. LIBS+=C:/myTools/xampp/mysql/lib/libmysql.lib
  6. include(../qsqldriverbase.pri)
To copy to clipboard, switch view to plain text mode 
However i still get the error
cannot find -llibmysql
error: collect2: ld returned 1 exit status
I cross-checked my library and includepath and they were intact. I need help please.