Dynamically expanding mysql query library based on QSql