Hello folks,

I've installed the mysql driver plugin on winXP after this guide:
http://wiki.qtcentre.org/index.php?t...ws_using_MinGW

After this installation I've cleaned the plug-in cache. But it dosn't work. I have allways the error, driver not loaded.

Here is the code for the mysql connection:
Qt Code:
  1. QSqlDatabase db = QSqlDatabase::addDatabase("QMYSQL");
  2. db.setHostName(hostnameLineEdit->text());
  3. db.setUserName(usernameLineEdit->text());
  4. db.setPassword(passwordLineEdit->text());
  5. db.setDatabaseName(dbnameLineEdit->text());
  6.  
  7. if (!db.open())
  8. QMessageBox::critical(0, tr("Error"), QString("The error:\n%1").arg(db.lastError().text()));
To copy to clipboard, switch view to plain text mode 

Under linux all works fine. Whats the problem with windows?

so long
jd