[Qt-interest] QMYSQL problem on ubuntu

JD Guzman lostinthecode at googlemail.com
Thu Jun 4 18:45:20 CEST 2009


Riccardo Roasio wrote:
> Hi,
>
> i'm trying to use QMYSQL driver on ubuntu but on connect it gives me a
> "Driver not loaded" error.
>
> If i print the list of drivers QMYSQL is present...
>
> How can i solve the problem?
>
> Thanks,
> Riccardo
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
>   
I had the same issue but on windows.  You may have already done this but
make sure that the libmysql.a shared library that comes with mysql is
somewhere in your path otherwise at runtime qt won't load the mysql
driver plugin.

Regards,

JD




More information about the Qt-interest-old mailing list