From: Andreas Piesk <a.piesk@gm...> - 2010-11-20 15:53:09
i tried to build TORA svn3817 with Postgresql support. Here's the output of the build:
+ /usr/bin/cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr -DWANT_INTERNAL_QSCINTILLA=1 -DENABLE_PGSQL=1
-DENABLE_DB2=0 -DENABLE_TERADATA=0 -DUSE_TROTL=1 .
-- Found Oracle:
-- includes: /opt/oracle/product/184.108.40.206/rdbms/public;/opt/oracle/product/220.127.116.11/xdk/include
-- Found XML Oracle: /opt/oracle/product/18.104.22.168/xdk/include
Oracle OCI Library Found OK
-- Found PostgreSQL: /usr/include
-- PostgreSQL environment found: /usr/include /usr/lib/libpq.so
-- DB2 support is disabled by user choice
-- Teradata support disabled (enable with -DENABLE_TERADATA=on)
it seems the header and libraries were found but the new connection dialog doesn't show the
Postgresql provider. tried -DUSE_TROTL=0 but the result was the same, no Postgresql support.
what i'm doing wrong?
Mike Johnson schrieb:
> You Qt install needs to have a postgres plugin. You can probably apt/yum
> install it.
> Tora uses the header to use the cancel function, which isn't exposed in
> the qt API.
thanks, i had qt-postgres installed but not qt4-postgres, silly me. it's working now.
now i'm able to use the postgres provider i found a little issue with the host combobox in the new
connection dialog. the host lists accumulates the hosts instead of showing just the ones valid for
the selected provider. the attached patch fixes that by clearing the combobox before populating it
On 20.11.2010 19:40, Andreas Piesk wrote:
> now i'm able to use the postgres provider i found a little issue with the host combobox in the new
> connection dialog. the host lists accumulates the hosts instead of showing just the ones valid for
> the selected provider. the attached patch fixes that by clearing the combobox before populating it
has someone looked at the small patch i posted? if it's OK please commit it, thanks.