[Interest] Building Qt from source ('libpq-fe.h' file not found)
Konstantin Tokarev
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:
>
> /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?
Kind of misconfiguration of build on your side.
BTW, [1] recommends building this plugin separately from main Qt build.
[1] http://doc.qt.io/qt-5/sql-driver.html#qpsql-for-postgresql-version-7-3-and-above
>
> 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
--
Regards,
Konstantin
More information about the Interest
mailing list