title: QMYSQL driver not loaded even though it is there
body: <pre><code>QSqlDatabase: QMYSQL driver not loaded
  QSqlDatabase: available drivers: QSQLITE QMYSQL QMYSQL3 QODBC QODBC3 QPSQL QPSQL7
  </code></pre>
  
  <p>this is the error I get when I run my application. I am on OS X. Installing SQL drivers appears to be a painful task and a poorly documented one. From the QT site:</p>
  
  <pre><code>cd $QTDIR/src/plugins/sqldrivers/mysql
  qmake "INCLUDEPATH+=/usr/local/include" "LIBS+=-L/usr/local/lib -lmysqlclient_r" mysql.pro
  make
  </code></pre>
  
  <p>$QTDIR is not only not defined, but this directory doesn't even exist. This is the closest I could find:</p>
  
  <pre><code>/Users/me/Qt5.2.0/5.2.0/clang_64/plugins/sqldrivers/
  </code></pre>
  
  <p>And it is filled with dylibs for all the installed drivers...</p>