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:Code:QSqlDatabase db = QSqlDatabase::addDatabase("QMYSQL"); db.setHostName("bigblue"); db.setDatabaseName("flightdb"); db.setUserName("acarlson"); db.setPassword("1uTbSbAs"); 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
Thanks![]()

Reply With Quote

