Possibly, but it doesn't seem like QtSql's string escaping API is any simpler..