QT 5 - building Mysql Plugin: can't find "mysql.h"
I'm trying to build the mysql plugin for QT 5 in my windows 8 machine.
My mysql installation is in c:\mysql.
I'm trying to build it with qt creator, opening the mysql.pro file.
This is my mysql.pro file:
@TARGET = qsqlmysql
SOURCES = main.cpp
OTHER_FILES += mysql.json
INCLUDEPATH += "c:/mysql/include"
LIBS += "c:/mysql/lib/libmysql.lib"
PLUGIN_CLASS_NAME = QMYSQLDriverPlugin
The error that I get when I try to build it is this:
@c:\qt\qt5.0.0\5.0.0\src\qtbase\src\sql\drivers\mysql\qsql_mysql.h:52: error: C1083: Cannot open include file: 'mysql/include/mysql.h': No such file or directory@
What is what I'm doing wrong?
Your directory file is wrong...