title: Installing QMYSQL driver
body: <p>Basically when I try to connect to the mysql database i get this error:</p>
  
  <pre><code>QSqlDatabase: QMYSQL driver not loaded
  QSqlDatabase: available drivers: QSQLITE QODBC QODBC3
  </code></pre>
  
  <p>I tried to install the drivers, extracting just qtbase from <a href="http://download.qt-project.org/official_releases/qt/5.0/5.0.2/single/qt-everywhere-opensource-src-5.0.2.zip" rel="nofollow">http://download.qt-project.org/official_releases/qt/5.0/5.0.2/single/qt-everywhere-opensource-src-5.0.2.zip</a> and placing it in my Qt directory. I have also followed this guide by inbush: <a href="http://www.qtcentre.org/threads/45295-using-mysql-plugin" rel="nofollow">http://www.qtcentre.org/threads/45295-using-mysql-plugin</a> doing this: <a href="http://puu.sh/3nyG9.png" rel="nofollow">http://puu.sh/3nyG9.png</a></p>
  
  <p>inbush says to copy libmysql.dll from C:\mysql\bin to C:\Qt\bin but I didn't find libmysql.dll in bin, but I did find it in lib. So I took that and went to my Qt\bin, and noticed that it was just these files <a href="http://puu.sh/3nB5m.png" rel="nofollow">http://puu.sh/3nB5m.png</a> so I thought to place it in Qt\lib instead. I tried re-running my project but it still gave me the same error. My .pro file does indeed have Qt += sql, and I did run qmake afterwards. What am I doing wrong?</p>