[Qt-interest] Qt - Mysql - Driver not found

Ankit Agarwal ankit17.ag at gmail.com
Thu Aug 18 11:53:15 CEST 2011


Hi,

I am using Qt 4.7.3 with Fedora14.

I am getting the following error:

*QSqlDatabase: QMYSQL driver not loaded
> QSqlDatabase: available drivers: QSQLITE*
>

For the qDebug() << QSqlDatabase::drivers(); statement, the output is :

> *("QSQLITE")
> *


For "ls /usr/local/Trolltech/Qt-4.7.3/plugins/sqldrivers/ ", the output is :

> *libqsqlite.so  libqsqlmysql.so*
>

I followed the instructions as giving the documentation. (in
sql-driver.html)


-- 
Regards,
Ankit Agarwal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110818/15204578/attachment.html 


More information about the Qt-interest-old mailing list