Hi,

I have been developing an Open Source program in Linux using psotgreSQL and the community version of QT. I am at a stage when I wish to test in in Windows, for that I require the psql plugin.

The commands I used are as follows:

Qt Code:
  1. qmake -o Makefile "INCLUDEPATH+=C:\psql\include" "LIBS+=C:\psql\lib\ms\libpq.lib" psql.pro
  2. make
To copy to clipboard, switch view to plain text mode 

This generated .a and .dll files in the C:\Qt\4.1.1\plugins\sqldrivers directory.

However when I run my program I am unable to load the drivers.

I had also tried to generate the dlls using the configue approach suggesting in an earlier post, again the files were created but I was unable to load the drivers.

Using the File Monitor program (as suggested in an earlier thread) my program is reading this dll. I ask my program to display the available drivers, so I can see it access qsqlite, qsqlodbc and qsqlpsql, teh request and results appear to match in all cases, but the result is that I stil fail to have access to the psql driver from withn my program, so sad.

Does anyone have any suggestion on what else to try?

Many thanks for you time,

graeme.