I'm trying to retrieve data from a MySQL server. I use the following example code (with some slight modifications):
But I get the following error:
QSqlDatabase db = QSqlDatabase::addDatabase("QMYSQL");
bool ok = db.open();
Is MySQL even supported in Maemo or am I doing something wrong? If it's not supported, is there another way to retrieve data from it?
QSqlDatabase: QMYSQL driver not loaded
QSqlDatabase: available drivers: QSQLITE