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? Regards, Nuno > On 28 Jan 2015, at 11:26, Konstantin Tokarev <annu...@yandex.ru> wrote: > > > > 28.01.2015, 14:21, "Nuno Santos" <nunosan...@imaginando.pt > <mailto:nunosan...@imaginando.pt>>: >> Hi, >> >> I’m trying to build Qt from source. >> >> I need to do this because I need to patch a bug since it’s fix will only be >> released in 5.4.1 and I can’t wait for it. >> >> I wanted to build the required framework only but i’m not sure where it >> belongs to (qmacmime.mm from platfaform support) >> >> So, I’m trying to build the whole Qt from source but i’m being faced with >> the following error: >> >> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ >> -c -pipe -I/usr/local/Cellar/postgresql/9.3.5_1/include -g -isysroot >> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk >> -std=c++11 -stdlib=libc++ -mmacosx-version-min=10.7 -fvisibility=hidden >> -fvisibility-inlines-hidden -fno-exceptions -Wall -W -fPIC -DQT_NO_MTDEV >> -DQT_NO_LIBUDEV -DQT_NO_EVDEV -DQT_EVAL -DQT_NO_CAST_TO_ASCII >> -DQT_NO_CAST_FROM_ASCII -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE >> -D_LARGEFILE_SOURCE -DQT_PLUGIN -DQT_SQL_LIB -DQT_CORE_LIB >> -I../../../../mkspecs/macx-clang -I. >> -I../../../../lib/QtCore.framework/Versions/5/Headers >> -I../../../../lib/QtCore.framework/Versions/5/Headers/5.4.0 >> -I../../../../lib/QtCore.framework/Versions/5/Headers/5.4.0/QtCore >> -I../../../../lib/QtSql.framework/Versions/5/Headers >> -I../../../../lib/QtSql.framework/Versions/5/Headers/5.4.0 >> -I../../../../lib/QtSql.framework/Versions/5/Headers/5.4.0/QtSql >> -I.moc/debug -F/Users/nsantos/Qt/5.4/Src/qtbase/lib -o >> .obj/debug/qsql_psql.o ../../../sql/drivers/psql/qsql_psql.cpp >> >> ../../../sql/drivers/psql/qsql_psql.cpp:51:10: fatal error: 'libpq-fe.h' >> file not found >> #include <libpq-fe.h> >> ^ >> 1 error generated. >> MACKIE:Src nsantos$ >> >> I have already tried to install postgresql from MacPorts but it keeps >> failing. >> >> Any ideas? > > Looks like there is no libpq-fe.h in > /usr/local/Cellar/postgresql/9.3.5_1/include > > -- > Regards, > Konstantin
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest