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

Phil Thompson phil at riverbankcomputing.com
Sat Aug 8 11:28:55 BST 2009


On Sat, 8 Aug 2009 12:24:16 +0200, "Hans-Peter Jansen" <hpj at urpla.net>
wrote:
> 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.

It's on my list to look at as it would be nice to be able to do.

Phil


More information about the PyQt mailing list