[PyQt] Implementing a QSqlDriver in python -> segmentation fault

Hans-Peter Jansen hpj at urpla.net
Sat Aug 8 11:24:16 BST 2009


Am Samstag, 8. August 2009 schrieb Andre Alexander Bell:
> On 2009-08-06 Volker Helm wrote:
> > I haven't got any knowledge for you. Why don't you use the ODBC-driver
> > which is implemented. On Linux you'll find normally driver for each OS
> > database.
>
> Thanks for your answer Volker. Indeed I'm using the ODBC driver under
> windows and the native driver under Linux now. However, I still wonder if
> it could be possible at all to subclass QSqlDriver and QSqlResult to
> implement the driver in python.

Sure, that would be cool, but unfortunately, you're entering land, nobody 
was before. Maybe you're suffering from lifetime issue or the like.
Try to debug it from ground up, and let us know about the outcome.

Good luck,
Pete


More information about the PyQt mailing list