-
MySQL and Maemo
I'm trying to retrieve data from a MySQL server. I use the following example code (with some slight modifications):
[CODE] QSqlDatabase db = QSqlDatabase::addDatabase("QMYSQL");
db.setHostName("bigblue");
db.setDatabaseName("flightdb");
db.setUserName("acarlson");
db.setPassword("1uTbSbAs");
bool ok = db.open();[/CODE]
But I get the following error:
[QUOTE]QSqlDatabase: QMYSQL driver not loaded
QSqlDatabase: available drivers: QSQLITE [/QUOTE]
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?
Thanks :)
-
Re: MySQL and Maemo
You should install libqt4-maemo5-sql-mysql package on the device.
Also you should install MySQL plugin on you PC, if you want to debug there. I don't really know how you can do it for MADDE.