title: qt MYSQL Connection on windows doesn't work
body: <p>I am trying to connect to MYSQL Database running on windows , I am using Xampp 
  I used this code to connect to database</p>
  
  <pre><code> QSqlDatabase db = QSqlDatabase::addDatabase("QMYSQL");
  db.setHostName("127.0.0.1");
  db.setDatabaseName("opencart");
  db.setUserName("root");
  db.setPassword("");
  db.open();
  </code></pre>
  
  <p>it print the following error message</p>
  
  <pre><code>QSqlDatabase: QMYSQL driver not loaded
  QSqlDatabase: available drivers: QSQLITE
  </code></pre>
  
  <p>I also added QT+=sql and when I try to print the drivers :</p>
  
  <pre><code>qDebug()&lt;&lt;QSqlDatabase::drivers();//("QSQLITE") 
  </code></pre>
  
  <p>how can I establish mysql database connection</p>