source: trunk/plugins/src/sqldrivers/odbc/odbc.pro

Last change on this file was 204, checked in by rudi, 14 years ago

Added plugin source code

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