Hi All

I am trying to load thre mysql plugin to my application

My .pro file contains

Qt Code:
  1. LIBS +=-L ../database -qsqlmysql4 # it path to .a lib file
To copy to clipboard, switch view to plain text mode 

In main cpp

i included import macro

Q_IMPORT_PLUGIN(qsqlmysql)
i am getting

Qt Code:
  1. error: undefined reference to `qt_plugin_instance_qsqlmysql()
  2.  
  3. '
To copy to clipboard, switch view to plain text mode 
Thanks

Yuvaraj R