summaryrefslogtreecommitdiffstats
path: root/src/plugins/sqldrivers/tds
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>2016-08-13 21:38:19 +0200
committerLars Knoll <lars.knoll@qt.io>2016-08-19 04:26:36 +0000
commitd5dc46d319bb1f58f8a0ba64d2ef270eecbe8e65 (patch)
treec5eff59eb5d173a28d7bf72e96a4c18898e7011d /src/plugins/sqldrivers/tds
parent15bf5ef8b8e4299b14626690c359baa14819cd35 (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/tds')
-rw-r--r--src/plugins/sqldrivers/tds/tds.pro8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/plugins/sqldrivers/tds/tds.pro b/src/plugins/sqldrivers/tds/tds.pro
index b5d32ae5a8..67bc0f5c48 100644
--- a/src/plugins/sqldrivers/tds/tds.pro
+++ b/src/plugins/sqldrivers/tds/tds.pro
@@ -3,13 +3,7 @@ TARGET = qsqltds
HEADERS += $$PWD/qsql_tds_p.h
SOURCES += $$PWD/qsql_tds.cpp $$PWD/main.cpp
-unix|mingw: {
- LIBS += $$QMAKE_LIBS_TDS
- !contains(LIBS, .*sybdb.*):LIBS += -lsybdb
- QMAKE_CXXFLAGS *= $$QMAKE_CFLAGS_TDS
-} else {
- LIBS *= -lNTWDBLIB
-}
+QMAKE_USE += tds
OTHER_FILES += tds.json