Thanks for your reply.
I am using MingW and i tried to compile and i am getting the following error.
C:\Qt\4.3.4\src\plugins\sqldrivers\mysql>qmake -o Makefile "INCLUDEPATH+=C:\prog
ra~1\MySQL\include" "LIBS+=C:\progra~1\lib\opt\libmysql.lib" mysql.pro
C:\Qt\4.3.4\src\plugins\sqldrivers\mysql>mingw32-make
mingw32-make -f Makefile.Release
mingw32-make[1]: Entering directory `C:/Qt/4.3.4/src/plugins/sqldrivers/mysql'
g++ -c -O2 -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT
-DQT_NO_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DQT_DLL -DQT_NO_DEBUG -DQT_PLUGIN
-DQT_SQL_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -I"..\..\..\..\include\QtCore" -
I"..\..\..\..\include\QtCore" -I"..\..\..\..\include\QtSql" -I"..\..\..\..\inclu
de\QtSql" -I"..\..\..\..\include" -I"c:\progra~1\MySQL\include" -I"c:\Qt\4.3.4\i
nclude\ActiveQt" -I"tmp\moc\release_shared" -I"." -I"..\..\..\..\mkspecs\win32-g
++" -o tmp\obj\release_shared\main.o main.cpp
In file included from main.cpp:46:
../../../sql/drivers/mysql/qsql_mysql.h:54:19: mysql.h: No such file or director
y
In file included from main.cpp:46:
../../../sql/drivers/mysql/qsql_mysql.h:105: error: expected `)' before '*' toke
n
mingw32-make[1]: *** [tmp/obj/release_shared/main.o] Error 1
mingw32-make[1]: Leaving directory `C:/Qt/4.3.4/src/plugins/sqldrivers/mysql'
mingw32-make: *** [release] Error 2
C:\Qt\4.3.4\src\plugins\sqldrivers\mysql>qmake -o Makefile "INCLUDEPATH+=C:\prog
ra~1\MySQL\include" "LIBS+=C:\progra~1\lib\opt\libmysql.lib" mysql.pro
C:\Qt\4.3.4\src\plugins\sqldrivers\mysql>mingw32-make
mingw32-make -f Makefile.Release
mingw32-make[1]: Entering directory `C:/Qt/4.3.4/src/plugins/sqldrivers/mysql'
g++ -c -O2 -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT
-DQT_NO_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DQT_DLL -DQT_NO_DEBUG -DQT_PLUGIN
-DQT_SQL_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -I"..\..\..\..\include\QtCore" -
I"..\..\..\..\include\QtCore" -I"..\..\..\..\include\QtSql" -I"..\..\..\..\inclu
de\QtSql" -I"..\..\..\..\include" -I"c:\progra~1\MySQL\include" -I"c:\Qt\4.3.4\i
nclude\ActiveQt" -I"tmp\moc\release_shared" -I"." -I"..\..\..\..\mkspecs\win32-g
++" -o tmp\obj\release_shared\main.o main.cpp
In file included from main.cpp:46:
../../../sql/drivers/mysql/qsql_mysql.h:54:19: mysql.h: No such file or director
y
In file included from main.cpp:46:
../../../sql/drivers/mysql/qsql_mysql.h:105: error: expected `)' before '*' toke
n
mingw32-make[1]: *** [tmp/obj/release_shared/main.o] Error 1
mingw32-make[1]: Leaving directory `C:/Qt/4.3.4/src/plugins/sqldrivers/mysql'
mingw32-make: *** [release] Error 2
To copy to clipboard, switch view to plain text mode
can you help me out.
Regards,
Narasimha Raju. Naidu
Bookmarks