Line | |
---|
1 | TEMPLATE = lib
|
---|
2 | TARGET = qsqlpsql
|
---|
3 |
|
---|
4 | CONFIG += qt plugin
|
---|
5 | DESTDIR = ../../../sqldrivers
|
---|
6 |
|
---|
7 | HEADERS = ../../../../src/sql/drivers/psql/qsql_psql.h
|
---|
8 | SOURCES = main.cpp \
|
---|
9 | ../../../../src/sql/drivers/psql/qsql_psql.cpp
|
---|
10 | unix {
|
---|
11 | OBJECTS_DIR = .obj
|
---|
12 | !contains( LIBS, .*pq.* ) {
|
---|
13 | LIBS *= -lpq
|
---|
14 | }
|
---|
15 | }
|
---|
16 |
|
---|
17 | win32 {
|
---|
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 |
|
---|
29 | REQUIRES = sql
|
---|
30 |
|
---|
31 | target.path += $$plugins.path/sqldrivers
|
---|
32 | INSTALLS += target
|
---|
Note:
See
TracBrowser
for help on using the repository browser.