[Qt-interest] QMYSQL problem on ubuntu

Riccardo Roasio riccardo.roasio at gmail.com
Thu Jun 4 16:48:37 CEST 2009


Nothing changes...

Failed connecting with db.
Error: Driver not loaded Driver not loaded
Drivers: QMYSQL3,QMYSQL,QSQLITE,QPSQL7,QPSQL



2009/6/4 Riccardo Roasio <riccardo.roasio at gmail.com>:
> I will try.
> Thanks so much!
>
> 2009/6/4 Diego Schulz <dschulz at gmail.com>:
>> 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
>> _______________________________________________
>> Qt-interest mailing list
>> Qt-interest at trolltech.com
>> http://lists.trolltech.com/mailman/listinfo/qt-interest
>>
>




More information about the Qt-interest-old mailing list