Qt-interest Archive, August 2006
Problems compiling qt 3.3.6 on Windoze 2000 with postgres
Message 1 in thread
Hi,
perhaps someone can help me with this strange problem. Strange because I
did not find something remotely similar with google or in the
interest archive.
I am trying to compile Qt 3.3.6 commercial win version on a Windoze
2000 in a VMWare environment using the MinGW compiler.
Without postgres the whole Qt compiles just fine. But when I try to
activate postgres the installer complains that it cannot find a
necessary lib and the include file libpg-fe.h. Currently I don't care
for the lib, but concentrate on the include file problem.
I tried the precompiled Postgres 8.1.4 and Postgres 8.0.8 (of course
I installed the development files) and I compiled
both packages myself. I added in all four cases the include path the the
windows environment. When the installer starts to configure it tells me
it uses the environment INCLUDE = <my path to the postgres includes>.
But when it comes to the sql classes the compiler stops and complains
that it could not find libpq-fe.h.
Regardless what I set in the environment, the installer and the compiler
does not find the header files.
In a second attempt I tried to feed the compiler the pathes by adding
the pathes to INCLUDEPATH in the created .qmake.cache shortly after the
source installation and shortly before the configuration step. Certainly
not the correct way, but this way the compiler actually finds the
header. Many sql classes, which did not complile before compile new
perfectly. Infortunately this is no the solution. When it comes to the
driver itself it stops and complains that one of its clases does not
have a method win32_open(.....).
Same thing when I moved the headers in a location the compiler searched
naturally.
Somehow I have the feeling my system isn't fully recognised as a win32
system.
Anyone an idea what the problem could be?
Regards
Guido
P.S. I HATE Windoze!
--
[ signature omitted ]