[Qt-interest] loading sql plug in
Yuvaraj R
yuvaraj at ongobiz.com
Tue Sep 29 07:47:33 CEST 2009
Thanks for your reply
I realized my mistake..
still i didn't load the plug in
i place sql folder in my project and inserted the created qsqlmysql.dll in
folder..
in pro file
LIBS += -L../sql
In my main function i used following macro
Q_IMPORT_PLUGIN(qsqlmysql)
but i am getting following error.
error: undefined reference to `qt_plugin_instance_qsqlmysql()'
Thanks
Yuvaraj R
Then i added in my pro file ..
On Tue, Sep 29, 2009 at 11:07 AM, Christopher Rasch-Olsen Raa <
christopher at technophile.info> wrote:
> Hi,
>
> What does the plugin-system say? Does your plugin get loaded? If so, what
> does
> the errors you get when loading a database say? Without this information is
> _really_ hard for us to help.
>
> --
> Christopher
>
> On Tuesday 29 September 2009 07:31:14 Yuvaraj R wrote:
> > Hi All
> >
> > I created the sql plug in .
> >
> > I tried with
> >
> >
> > QSqlDatabase db = QSqlDatabase::addDatabase("Mysql");
> >
> > db.setDatabaseName("Addu");
> >
> > but i am getting error..
> >
> > how do i use the plugin in my project and upload to project.
> >
> > please help me
> >
> > can anybody provide me a useful links
> >
> > Thanks
> >
> > Yuvaraj R
> >
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090929/e751cb72/attachment.html
More information about the Qt-interest-old
mailing list