summaryrefslogtreecommitdiffstats
path: root/tqtinterface/qt4/src/sql/qt_sql.pri
diff options
context:
space:
mode:
Diffstat (limited to 'tqtinterface/qt4/src/sql/qt_sql.pri')
-rw-r--r--tqtinterface/qt4/src/sql/qt_sql.pri34
1 files changed, 17 insertions, 17 deletions
diff --git a/tqtinterface/qt4/src/sql/qt_sql.pri b/tqtinterface/qt4/src/sql/qt_sql.pri
index 29845f8..732c674 100644
--- a/tqtinterface/qt4/src/sql/qt_sql.pri
+++ b/tqtinterface/qt4/src/sql/qt_sql.pri
@@ -53,21 +53,21 @@ sql {
$$SQL_CPP/tqsqlselectcursor.cpp \
$$SQL_CPP/drivers/cache/tqsqlcachedresult.cpp
- tqcontains(sql-drivers, all ) {
+ contains(sql-drivers, all ) {
sql-driver += psql mysql odbc oci tds db2 sqlite ibase
}
- tqcontains(sql-drivers, psql) {
+ contains(sql-drivers, psql) {
HEADERS += $$SQL_CPP/drivers/psql/tqsql_psql.h
SOURCES += $$SQL_CPP/drivers/psql/tqsql_psql.cpp
DEFINES += TQT_SQL_POSTGRES
unix {
- !tqcontains( LIBS, .*pq.* ) {
+ !contains( LIBS, .*pq.* ) {
LIBS *= -lpq
}
}
win32 {
- !tqcontains( LIBS, .*libpq.* ) {
+ !contains( LIBS, .*libpq.* ) {
LIBS *= libpqdll.lib
}
# win32-msvc: {
@@ -80,17 +80,17 @@ sql {
}
}
- tqcontains(sql-drivers, mysql) {
+ contains(sql-drivers, mysql) {
HEADERS += $$SQL_CPP/drivers/mysql/tqsql_mysql.h
SOURCES += $$SQL_CPP/drivers/mysql/tqsql_mysql.cpp
DEFINES += TQT_SQL_MYSQL
unix {
- !tqcontains( LIBS, .*mysql.* ) {
+ !contains( LIBS, .*mysql.* ) {
LIBS *= -lmysqlclient
}
}
win32 {
- !tqcontains( LIBS, .*mysql.* ) {
+ !contains( LIBS, .*mysql.* ) {
LIBS *= libmysql.lib
}
# win32-msvc: {
@@ -103,19 +103,19 @@ sql {
}
}
- tqcontains(sql-drivers, odbc) {
+ contains(sql-drivers, odbc) {
HEADERS += $$SQL_CPP/drivers/odbc/tqsql_odbc.h
SOURCES += $$SQL_CPP/drivers/odbc/tqsql_odbc.cpp
DEFINES += TQT_SQL_ODBC
mac {
- !tqcontains( LIBS, .*odbc.* ) {
+ !contains( LIBS, .*odbc.* ) {
LIBS *= -liodbc
}
}
unix {
- !tqcontains( LIBS, .*odbc.* ) {
+ !contains( LIBS, .*odbc.* ) {
LIBS *= -lodbc
}
}
@@ -127,12 +127,12 @@ sql {
}
- tqcontains(sql-drivers, oci) {
+ contains(sql-drivers, oci) {
HEADERS += $$SQL_CPP/drivers/oci/tqsql_oci.h
SOURCES += $$SQL_CPP/drivers/oci/tqsql_oci.cpp
DEFINES += TQT_SQL_OCI
unix {
- !tqcontains( LIBS, .*clnts.* ) {
+ !contains( LIBS, .*clnts.* ) {
LIBS += -lclntsh -lwtc8
}
}
@@ -148,7 +148,7 @@ sql {
}
}
- tqcontains(sql-drivers, tds) {
+ contains(sql-drivers, tds) {
HEADERS += $$SQL_CPP/drivers/tds/tqsql_tds.h \
$$SQL_CPP/drivers/shared/tqsql_result.h
SOURCES += $$SQL_CPP/drivers/tds/tqsql_tds.cpp \
@@ -170,7 +170,7 @@ sql {
}
}
- tqcontains(sql-drivers, db2) {
+ contains(sql-drivers, db2) {
HEADERS += $$SQL_CPP/drivers/db2/tqsql_db2.h
SOURCES += $$SQL_CPP/drivers/db2/tqsql_db2.cpp
DEFINES += TQT_SQL_DB2
@@ -183,7 +183,7 @@ sql {
}
}
- tqcontains(sql-drivers, ibase) {
+ contains(sql-drivers, ibase) {
HEADERS += $$SQL_CPP/drivers/ibase/tqsql_ibase.h
SOURCES += $$SQL_CPP/drivers/ibase/tqsql_ibase.cpp
DEFINES += TQT_SQL_IBASE
@@ -196,8 +196,8 @@ sql {
}
}
- tqcontains(sql-drivers, sqlite) {
- !tqcontains( LIBS, .*sqlite.* ) {
+ contains(sql-drivers, sqlite) {
+ !contains( LIBS, .*sqlite.* ) {
INCLUDEPATH += $$SQL_CPP/../3rdparty/sqlite/