[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: postgresql and qt
From:       "Aaron J. Seigo" <aseigo () kde ! org>
Date:       2004-10-24 20:43:06
Message-ID: 200410241443.06563.aseigo () kde ! org
[Download RAW message or body]

On Sunday 24 October 2004 01:57, Adrian CAPDEFIER wrote:
> What's the best way to do database access in qt/c++? I noticed some

you have basically three options:

0. use the Qt SQL classes. you'll need to ensure you have the Qt pgsql driver 
built.

1. write directly to libpq++ and manage it yourself.

2. use some other 3rd party lib (e.g. your own)

if you're going to be doing stuff that isn't overly complex option #0 is 
probably the easiest (and then you get to use Qt's data aware widgets), but 
if you are going to be delving deeper into the guts of pgsql you may want to 
go with option 1.

there are a few Qt/KDE apps that work with pgsql that you may want to look at 
for references...

-- 
Aaron J. Seigo
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic