Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#1244 - postgresql plugin support in qt

Attached to Project: Arch Linux
Opened by Rafal Szczepaniak (lanrat) - Wednesday, 11 August 2004, 14:05 GMT
Task Type Feature Request
Category Packages: Current
Status Closed
Assigned To No-one
Architecture not specified
Severity Low
Priority Normal
Reported Version 0.7 Wombat
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

Analogically to these:
http://bugs.archlinux.org/index.php?do=details&id=1040&edit=yep
http://bugs.archlinux.org/index.php?do=details&id=1166

I'd like to ask for building qt with postgresql plugin support in the next release (non depending on postgresql package of course).New qt/kde database applications (I'm trying to build) really need it.It starts to be a standard way for accessing databases from qt/kde apps now.

The following is from the qt docs:

----

How to build the plugin on Unix/Linux

Just installing the pq client library and the corresponding header files is not sufficient. You have to get the PostgreSQL source distribution and run the configure script. If you've already installed a binary distribution you don't need to build it. The source distribution is needed because the QPSQL7 plugin relies on a couple of
header files that are usually not a part of the binary distribution.

To make qmake find the PostgreSQL header files and shared
libraries, run qmake the following way (assuming that the
PostgreSQL sources can be found in /usr/src/psql):

cd $QTDIR/plugins/src/sqldrivers/psql
qmake -o Makefile "INCLUDEPATH+=/usr/src/psql/src/include /usr/src/psql/src/interfaces/libpq" "LIBS+=-L/usr/lib -lpq" psql.pro
make

-----

Other things like multibyte (utf) and locale support are already present in arch postgresql package because they are now a standard (you can't turn them off) in postgresql since version 7.3.something (I think). The above instructions should be enough to build the postgresql plugin support into qt.
This task depends upon

Closed by  Judd Vinet (judd)
Thursday, 12 August 2004, 20:43 GMT
Reason for closing:  Implemented

Loading...