summaryrefslogtreecommitdiffstats
path: root/src/sql/drivers/odbc/qsql_odbc.pri
blob: 839401203c8fc1ebed5345dce75cbe8e3f78a214 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
HEADERS += $$PWD/qsql_odbc.h
SOURCES += $$PWD/qsql_odbc.cpp

mac {
    !contains(LIBS, .*odbc.*):LIBS += -liodbc
} else:unix {
    DEFINES += UNICODE
    !contains(LIBS, .*odbc.*):LIBS += $$QT_LFLAGS_ODBC
} else:win32-borland {
    LIBS *= $(BCB)/lib/PSDK/odbc32.lib
} else {
    LIBS *= -lodbc32
}