Binary package “libqt3-mt-psql” in ubuntu precise
PostgreSQL database driver for Qt3 (Threaded)
This package contains the threaded PostgreSQL plugin for Qt3.
Install it if you intend to use or write Qt programs that are
to access a PostgreSQL DB.