title: QtSQL - QMYSQL driver not loaded (Ubuntu)
body: <p>I want to access a SQL database via <code>PyQt4</code> on Ubuntu. I already installed <code>apt-get install python-qt4-sql</code> but when I add a Database like this:</p>
  
  <pre><code>import sys
  from PyQt4 import QtGui, QtCore, QtSql
  
  appcore = QtCore.QCoreApplication(sys.argv)
  
  db = QtSql.QSqlDatabase.addDatabase('QMYSQL')
  db.setHostName('localhost')
  db.setDatabaseName('database1')
  db.setUserName('root')
  db.setPassword('root')
  
  if db.open() == False:
      print 'fail'
  </code></pre>
  
  <p>I get the error</p>
  
  <pre><code>QSqlDatabase: QMYSQL driver not loaded
  QSqlDatabase: available drivers: QSQLITE
  </code></pre>
  
  <p>How can I load the driver <code>QMYSQL</code>?</p>