[Interest] Building Qt from source ('libpq-fe.h' file not found)
annulen at yandex.ru
Wed Jan 28 13:11:16 CET 2015
28.01.2015, 14:37, "Nuno Santos" <nunosantos at imaginando.pt>:
> Following your tip, I have manually changed the Makefile.Debug and Makefile.Release on the following path:
> It’s now continuing the work!
> Can this be considered a bug in the source build configuration?
Kind of misconfiguration of build on your side.
BTW,  recommends building this plugin separately from main Qt build.
>> On 28 Jan 2015, at 11:31, Konstantin Tokarev <annulen at yandex.ru> wrote:
>> 28.01.2015, 14:28, "Nuno Santos" <nunosantos at imaginando.pt>:
>>> 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.
>> 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)
More information about the Interest