title: QSqlQuery does not work
body: <p>I try to add to my database a row but it does not work.
  My database is host by alwaysdata, I use Qt Creator to develop my program (which print no error) and MySql for viewing the database</p>
  
  <p>via MySql Query Browser I entered :</p>
  
  <pre><code>INSERT INTO `mmr` VALUES (NULL,'musictest','albumtest','timetest','datetest');
  </code></pre>
  
  <p>it works
  but in my program that code does not work :</p>
  
  <pre><code>void MainWindow::b_clicked(){
      QSqlDatabase db = QSqlDatabase::addDatabase("QSQLITE");
      db.setHostName("mysql1.alwaysdata.com");
      db.setDatabaseName("mymusicrecognition_mmr");
      db.setUserName("xxx");
      db.setPassword("yyyy");
      if(!db.open())
          {
              QMessageBox::information(this,"Message","Not connected...");
      }
      else{
  
          QSqlQuery query;
          query.exec(QString("INSERT INTO `mmr` VALUES (NULL,'%1','%2','%3','%4')")
          .arg("musictest").arg("albumtest").arg("timetest").arg("datetest"));
          QMessageBox::information(this,"Message","Connected !!!");
      }
  }
  </code></pre>
  
  <p>I have the message box "Connected !!!"</p>
  
  <p>This must be a beginner mistake</p>