I am using the SQL module of Qt 5.3.1 (Win 7, VS2013) to insert data into a MySQL 5.6 database. After I noticed some performance issues I execute three test code snippets and me
QMYSQL doesn't support BatchExec.
You can use QSqlDriver::hasFeature(QSqlDriver::BatchOperations) to check if a driver support Batchexec.
You can also check the source in QT_SRC/src/sql/drivers/mysql/qsql_mysql.cpp
bool QMYSQLDriver::hasFeature(DriverFeature f) const
it just returned false.