Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.15.16
-
None
Description
Hi,
the issue reported in https://bugreports.qt.io/browse/QTBUG-65036 is still present with Qt 5.15.16 (opensource) under Windows (64 bit) and PostgreSQL 14.
In short: the configure stops with an error "ERROR: Feature 'sql-psql' was enabled, but the pre-condition 'libs.psql' failed."
It looks like Makefile is generated incorrectly:
+ cd /d C:\qt-everywhere-src-5.15.16-build\config.tests\psql && C:\qt-everywhere-src-5.15.16-build\qtbase\bin\qmake.exe "CONFIG -= qt debug_and_release app_bundle lib_bundle" "CONFIG += shared warn_off console single_arch" "QMAKE_LIBDIR += \\\"C:/Temp/PostgreSQL/14/lib\\\"" "INCLUDEPATH += \\\"C:/Temp/PostgreSQL/14/include\\\"" "QMAKE_LIBS_PSQL=\"C:/Temp/PostgreSQL/14/lib/libpq.lib\"" "QMAKE_USE += psql" "QMAKE_LIBS_PSQL = C:
Program Files\\PostgreSQL\\14\\lib
libpq.lib" C:/qt-everywhere-src-5.15.16-build/config.tests/psql
so QMAKE_LIBS_PSQL is always set to C:\Program Files\PostgreSQL however the installation of the PostgreSQL is in C:/Temp/PostgreSQL.
Attachments
Issue Links
- clones
-
QTBUG-65036 Compile PostgresSql
-
- Closed
-