i guy i have a problem with qt and mysq, i try to connect with this code the db but i have this error:
QSqlDatabase: QMYSQL driver not loaded
QSqlDatabase: available drivers: QSQLITE
i tried to install mysql driver with this guide: http://qt-project.org/doc/qt-4.8/sql-driver.html
but i dont’have the mysql folder, when i go to the installation folder of my qt i foud this situation
/usr/lib/i386-linux-gnu/qt5/plugins/sqldrivers there are two file: libsqllite.so and libsqlmysql.so.
help me!!! :-) please
↧