[Interest] Building Qt from source ('libpq-fe.h' file not found)

Konstantin Tokarev annulen at yandex.ru
Wed Jan 28 12:31:41 CET 2015



28.01.2015, 14:28, "Nuno Santos" <nunosantos at imaginando.pt>:
> Yes,
>
> But that is the built in include path. I have tried to make
>
> CFLAGS=/opt/local/include/postgresql91/ make -j8
>
> But it didn’t worked.
>
> Ideas?

Makefiles, produced by qmake, don't respect overriding of variables like CFLAGS (they are assignaed with '=', not '?=')

You need to pass include path through configure somehow (maybe setting CFLAGS variable will just work)


-- 
Regards,
Konstantin



More information about the Interest mailing list