helo,
i m using qt-3.3.0 and mysql 5.0 on redhat 9
i build driver as given
root#cd /usr/local/qt/plugins/src/sqldriver/mysql
mysql#qmake -o Makefile "INCLUDEPATH+= -/usr/local/mysql/include" "LIBS+= -L/usr/lib/mysql -mysqlclient" mysql.pro
#make
it shows libqsqlmysql.so under sqldriver
after that i open qt designer and setup database connection
r giving all the detials like root ,user name ,port etc
when i press connection buttion then qt designer disupear
then i run ldd against libqsmysql.so
it shows the output as
warning: cannot find entry symbol -start ; not setting start address
libqsqlmysql.so :undefined reference to 'mysql_server_init'
libqsqlmysql.so :undefined reference to "mysql_server_end'
then i done rm-f libqsqlmysql.so and again install driver as
qmake -o makefile "INCLUDEPATH+= -/usr/local/mysql/include" "LIBS+= -L/usr/lib/mysql -mysqlclient.so
make
but i got the same result as given above.
what to do to solve this isse
Thanks in advance
Amit
Bookmarks