Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 3

Qt-interest Archive, June 2007
Unable to use psql driver in QT 4.3


Message 1 in thread

Hi

I am having a problem with using the postgre driver (compiled in, haven't 
tried plugin) in QT4.3 in windows. I am using the mingw compiler with the 
gpl version of QT. 

I have configured QT4.3 with the following line:

configure.exe -qt-sql-psql -I c:/Qt/tools/pqsql-8.2/include -L 
c:/Qt/tools/pqsql-8.2/lib -l pq

which worked in 4.2.

the configure output says that psql is added as a compiled in driver. 

After building, if I try to run the demos, either books or sqlbrowser, I 
get an error message if the postgre dlls are not present, which indicates 
to me that the build has actually linked properly, however, the driver for 
postgre is not available.

Any thoughts?

Thank you very much for your help.

Regards


______________________________________________________________________
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom
they are addressed.

If you have received this email in error please notify the
originator of the message.

Any views expressed in this message are those of the individual
sender, except where the sender specifies and with authority,
states them to be the views of Malvern Instruments.

http://www.malvern.com
______________________________________________________________________

Message 2 in thread

Hi, there.

This can happen if the executable can't find the PSQL DLLs neither in any of the directories listed in PATH, the current directory, nor in any compiled-in search paths.
 
Try adding the directory containing the PSQL DLLs to the PATH environment variable and see if it works any better.

Best regards

--
 [ signature omitted ]