I don't think that MySQL driver can do this so QSqlQuery also can not.