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

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

Added plugin source code

File size: 594 bytes
Line 
1TEMPLATE = lib
2TARGET = qsqlpsql
3
4CONFIG += qt plugin
5DESTDIR = ../../../sqldrivers
6
7HEADERS = ../../../../src/sql/drivers/psql/qsql_psql.h
8SOURCES = main.cpp \
9 ../../../../src/sql/drivers/psql/qsql_psql.cpp
10unix {
11 OBJECTS_DIR = .obj
12 !contains( LIBS, .*pq.* ) {
13 LIBS *= -lpq
14 }
15}
16
17win32 {
18 OBJECTS_DIR = obj
19 LIBS *= libpqdll.lib
20# win32-msvc: {
21# LIBS *= delayimp.lib
22# QMAKE_LFLAGS += /DELAYLOAD:libpq.dll
23# }
24# win32-borland: {
25# QMAKE_LFLAGS += /dlibpq.dll
26# }
27}
28
29REQUIRES = sql
30
31target.path += $$plugins.path/sqldrivers
32INSTALLS += target
Note: See TracBrowser for help on using the repository browser.