Line | |
---|
1 | TEMPLATE = lib
|
---|
2 | TARGET = qsqlodbc
|
---|
3 |
|
---|
4 | CONFIG += qt plugin
|
---|
5 | DESTDIR = ../../../sqldrivers
|
---|
6 |
|
---|
7 | HEADERS = ../../../../src/sql/drivers/odbc/qsql_odbc.h
|
---|
8 | SOURCES = main.cpp \
|
---|
9 | ../../../../src/sql/drivers/odbc/qsql_odbc.cpp
|
---|
10 |
|
---|
11 | mac {
|
---|
12 | !contains( LIBS, .*odbc.* ) {
|
---|
13 | LIBS *= -liodbc
|
---|
14 | }
|
---|
15 | }
|
---|
16 |
|
---|
17 | unix {
|
---|
18 | OBJECTS_DIR = .obj
|
---|
19 | !contains( LIBS, .*odbc.* ) {
|
---|
20 | LIBS *= -lodbc
|
---|
21 | }
|
---|
22 | }
|
---|
23 |
|
---|
24 | win32 {
|
---|
25 | OBJECTS_DIR = obj
|
---|
26 | !win32-borland:LIBS *= -lodbc32
|
---|
27 | win32-borland:LIBS *= $(BCB)/lib/PSDK/odbc32.lib
|
---|
28 | }
|
---|
29 |
|
---|
30 | REQUIRES = sql
|
---|
31 |
|
---|
32 | target.path += $$plugins.path/sqldrivers
|
---|
33 | INSTALLS += target
|
---|
Note:
See
TracBrowser
for help on using the repository browser.