Well you can do the work by your own, but I would go the easy why and use what Qt provides you (QtSql Module). Because with that you can be sure, that it fit all other Qt classes and many people have developed and tested it. And I doubt that you can gain much speed if you program custom layers.
Bookmarks