diff options
author | Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> | 2016-08-13 21:38:19 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2016-08-19 04:26:36 +0000 |
commit | d5dc46d319bb1f58f8a0ba64d2ef270eecbe8e65 (patch) | |
tree | c5eff59eb5d173a28d7bf72e96a4c18898e7011d /src/plugins/sqldrivers/psql | |
parent | 15bf5ef8b8e4299b14626690c359baa14819cd35 (diff) |
employ QMAKE_USE: LIBS += $$QMAKE_LIBS_FOO
this migrates the cases where the build system already made (some) use
of variables (possibly) set by configure.
Change-Id: I43a08caed481d5f887a3a40821e71a4797760e7e
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/plugins/sqldrivers/psql')
-rw-r--r-- | src/plugins/sqldrivers/psql/psql.pro | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/plugins/sqldrivers/psql/psql.pro b/src/plugins/sqldrivers/psql/psql.pro index 4a05266120..c44a6319c3 100644 --- a/src/plugins/sqldrivers/psql/psql.pro +++ b/src/plugins/sqldrivers/psql/psql.pro @@ -3,13 +3,7 @@ TARGET = qsqlpsql HEADERS += $$PWD/qsql_psql_p.h SOURCES += $$PWD/qsql_psql.cpp $$PWD/main.cpp -unix|mingw { - LIBS += $$QMAKE_LIBS_PSQL - !contains(LIBS, .*pq.*):LIBS += -lpq - QMAKE_CXXFLAGS *= $$QMAKE_CFLAGS_PSQL -} else { - !contains(LIBS, .*pq.*):LIBS += -llibpq -lws2_32 -ladvapi32 -} +QMAKE_USE += psql OTHER_FILES += psql.json |