Dear Friends
I am trying to build sql driver but getting error that its not finding the path mysql.h. I am using this command to configura
/////////////////////////////////////////////////////////////////////////////////////
configure -qt-sql-mysql -plugin-sql-mysql -I C:\MySQL\MySQLServer5.5\include
mingw32-make
//////////////////////////////////////////////////////////////////////////////////
errors:
//////////////////////////////////////////////////////////////////////////////////
.\..\..\..\mkspecs\win32-g++" -o tmp\obj\debug_shared\main.o main.cpp
In file included from main.cpp:44:
../../../sql/drivers/mysql/qsql_mysql.h:52:19: error: mysql.h: No such file or d
irectory
In file included from main.cpp:44:
../../../sql/drivers/mysql/qsql_mysql.h:108: error: expected ')' before '*' toke
n
mingw32-make[4]: *** [tmp/obj/debug_shared/main.o] Error 1
mingw32-make[4]: Leaving directory `C:/Qt/4.7.3/src/plugins/sqldrivers/mysql'
mingw32-make[3]: *** [debug-all] Error 2
mingw32-make[3]: Leaving directory `C:/Qt/4.7.3/src/plugins/sqldrivers/mysql'
mingw32-make[2]: *** [sub-mysql-make_default] Error 2
mingw32-make[2]: Leaving directory `C:/Qt/4.7.3/src/plugins/sqldrivers'
mingw32-make[1]: *** [sub-sqldrivers-make_default] Error 2
mingw32-make[1]: Leaving directory `C:/Qt/4.7.3/src/plugins'
mingw32-make: *** [sub-plugins-make_default-ordered] Error 2
//////////////////////////////////////////////////////////////////////////////////
I am specifying the path of the header of mysql.h but still its showing error that mysql.h is not found. Please giveme somesuggestions. whats wrong in this . Thanks sujan
Bookmarks