source: trunk/plugins/src/sqldrivers/mysql/mysql.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 = qsqlmysql
3
4CONFIG += qt plugin
5DESTDIR = ../../../sqldrivers
6
7HEADERS = ../../../../src/sql/drivers/mysql/qsql_mysql.h
8SOURCES = main.cpp \
9 ../../../../src/sql/drivers/mysql/qsql_mysql.cpp
10
11unix {
12 OBJECTS_DIR = .obj
13
14 !contains( LIBS, .*mysql.* ) {
15 LIBS *= -lmysqlclient
16 }
17}
18win32 {
19 OBJECTS_DIR = obj
20 LIBS *= libmysql.lib
21# win32-msvc: {
22# LIBS *= delayimp.lib
23# QMAKE_LFLAGS += /DELAYLOAD:libmysql.dll
24# }
25# win32-borland: {
26# QMAKE_LFLAGS += /dlibmysql.dll
27# }
28}
29
30REQUIRES = sql
31
32target.path += $$plugins.path/sqldrivers
33INSTALLS += target
Note: See TracBrowser for help on using the repository browser.