[PyKDE] PyQT and Qsql

Phil Thompson phil at river-bank.demon.co.uk
Wed Jun 5 16:01:01 BST 2002


Peter Osborne wrote:

> Use one of the several Python interfaces to Postgresql. I don't believe there 
> is a way of using the Qt bindings to access the db, but I could be wrong. I'm 
> a newbie too.
> 
> -Pete


You can use the Qt bindings to access PostgreSQL without problems. You 
shouldn't other methods if you want to use the SQL support in Qt 
Designer or Qt's data aware widgets like QDataTable.


> On June 5, 2002 11:29 am, webdevelop at icon.co.za wrote:
> 
>>Greetings all,
>>
>>I've been lurking on the list since 2000, having had a long-time interest
>>in learning Python and PyQT, but never having the chance. Now I'm getting
>>down to seriously looking at it as an alternative to some of the 'other'
>>languages.
>>
>>As per usual I am want to jump in at the deep end. I am looking to build a
>>very simple interface for a Postgres backend but am totally flumoxed as to
>>how to establish a connection. Unfortunately, this seems to be the one area
>>I cannot find any examples for, and my understanding of the QT docs is
>>terrible at best (I am not from a C++ background). I hope someone can help
>>me out here with a short explanation.


Phil




More information about the PyQt mailing list