title: QT MySql connectivity using Windows XP, Qt Creator 4.5.2(windows 32 bit)
body: <p>Platform:</p>
  
  <ul>
  <li>Windows XP</li>
  <li>Qt Creator IDE 4.5.2</li>
  </ul>
  
  <p>MySQL is setup here as well.</p>
  
  <p>I want to establish database connection with Qt and MySQL. The following line </p>
  
  <pre><code>QSqlDatabase db = QSqlDatabase::addDatabase("QMYSQL");
  </code></pre>
  
  <p>generates error like below:</p>
  
  <pre><code>QSqlDatabase: QMYSQL driver not loaded
  QSqlDatabase: available drivers: QSQLITE QODBC3 QODBC
  </code></pre>
  
  <p>It seems QMYSQL driver is absent here.
  What to do?</p>