[Qt-interest] QMYSQL problem on ubuntu

Diego Schulz dschulz at gmail.com
Thu Jun 4 15:30:51 CEST 2009


On Thu, Jun 4, 2009 at 8:10 AM, Riccardo Roasio
<riccardo.roasio at gmail.com> 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


Hi,

It's working just fine here, Ubuntu 9.04.
Can you make sure you have the libqt4-sql-mysql package installed, please?

You  can try something like:

$ sudo aptitude show libqt4-sql-mysql
Package: libqt4-sql-mysql
New: yes
State: installed
....(snip)...


To install:
$ sudo aptitude update
$ sudo aptitude install libqt4-sql-mysql

HTH

diego



More information about the Qt-interest-old mailing list