Solved Building PostgreSQL driver on Linux
-
Hello everyone.
I'm trying to build Qt 5.15.2 with PSQL driver on an armhf board running Linux, but all I get is:
ERROR: Feature 'sql-psql' was enabled, but the pre-condition 'libs.psql' failed.Configure was:
./configure -nomake examples -skip qtwebengine -skip qtwayland -opensource -confirm-license -release -no-gtk -no-opengl -sql-psql PSQL_LIBS="/lib/arm-linux-gnueabihf/libpq.a" -I "/usr/include/postgresql/" -L "/usr/include/postgresql/11/lib"
-
@nicmorais Check the config.log file to see what exactly is missing.
Most probably you did not install the PostgreSQL dev package. -
@jsulm Thank you for your attention, buy I got it fixed by compiling Qt 6 instead of 5.12.5.