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

Nuno Santos nunosantos at imaginando.pt
Wed Jan 28 12:37:48 CET 2015


Following your tip, I have manually changed the Makefile.Debug and Makefile.Release on the following path:

/Users/nsantos/Qt/5.4/Src/qtbase/src/plugins/sqldrivers/psql

It’s now continuing the work!

Can this be considered a bug in the source build configuration?

Thanks!

Regards,

Nuno

> 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>:
>> 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