PDA

View Full Version : Mysql plug in loading problem



addu
29th September 2009, 12:14
Hi All

I am trying to load thre mysql plugin to my application

My .pro file contains


LIBS +=-L ../database -qsqlmysql4 # it path to .a lib file



In main cpp

i included import macro

Q_IMPORT_PLUGIN(qsqlmysql)
i am getting


error: undefined reference to `qt_plugin_instance_qsqlmysql()

'
Thanks

Yuvaraj R