Skip to content

Commit 1e24e5a

Browse files
author
timlinux
committedDec 8, 2006
Build the spit plugin (thanks FREDDY!)
git-svn-id: http://svn.osgeo.org/qgis/trunk@6220 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent abff447 commit 1e24e5a

File tree

2 files changed

+55
-35
lines changed

2 files changed

+55
-35
lines changed
 

‎src/plugins/plugins.pro

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ TEMPLATE = subdirs
1010
SUBDIRS = delimited_text \
1111
scale_bar \
1212
grid_maker \
13-
north_arrow \
14-
grass \
15-
copyright_label
13+
north_arrow \
14+
grass \
15+
copyright_label \
16+
spit
1617
# gps_importer \
17-
# spit

‎src/plugins/spit/spit.pro

Lines changed: 51 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,67 @@
1-
TEMPLATE = lib
2-
LANGUAGE = C++
1+
#################################################################
2+
#
3+
# QMAKE Project File for Quantum GIS
4+
#
5+
# Tim Sutton 2006
6+
#
7+
# NOTE: Do not place any hard coded external paths in this file
8+
# all libs and includes should be specified in settings.pro
9+
# in the top level qgis directory.
10+
#
11+
#################################################################
312

4-
CONFIG += qt dll thread rtti
13+
#
14+
# This file builds the spit plugin
15+
#
516

6-
LIBS += $(POSTGRESQL)\src\interfaces\libpq\Release\libpq.lib ..\..\src\libqgis.lib $(GDAL)\lib\gdal_i.lib
17+
include(../../../settings.pro)
18+
TARGET=spitplugin
19+
TEMPLATE = lib
20+
#suffix debug to target if applicable
21+
CONFIG(debug, debug|release){
22+
TARGET = $$member(TARGET, 0)-debug
23+
}
724

8-
INCLUDEPATH += . ..\..\src $(GDAL)\include $(POSTGRESQL)\src\interfaces\libpq $(POSTGRESQL)\src\include
25+
# This is a hack (thanks freddy!) because many plugins use the
26+
# same class names and file names we need to force the compiler
27+
# to create separate object files for them.
28+
MYDIRNAME=spit
29+
MOC_DIR = $${OBJDIR}/moc/plugins/$${MYDIRNAME}
30+
UI_DIR = $${OBJDIR}/ui/plugins/$${MYDIRNAME}
31+
win32:OBJECTS_DIR = $${OBJDIR}/o/win32/plugins/$${MYDIRNAME}
32+
INCLUDEPATH += $${OBJDIR}/ui
33+
#INCLUDEPATH += $${GEOSINCLUDE}
934

10-
HEADERS += ..\..\src\qgspgutil.cpp
35+
LIBS += $${QGISCORELIBADD}
36+
LIBS += $${QGISGUILIBADD}
37+
LIBS += $${POSTGRESLIBADD}
38+
#LIBS += $${GEOSLIBADD}
39+
LIBS += $${GDALLIBADD}
1140

12-
SOURCES += qgsconnectiondialog.cpp \
13-
qgsmessageviewer.cpp \
14-
qgsshapefile.cpp \
15-
qgsspit.cpp \
16-
qgsspitplugin.cpp \
17-
qgseditreservedwordsdialog.cpp
1841

19-
FORMS = qgsconnectiondialogbase.ui \
20-
qgsmessageviewerbase.ui \
21-
qgsspitbase.ui \
22-
qgseditreservedwordsbase.ui
2342

24-
######################################################################
25-
# Sorta Automatically generated by qmake (1.06c) Mon Aug 16 10:40:20 2004
26-
######################################################################
27-
# spit.pro,v 1.1 2004/08/18 03:11:01 gsherman Exp
28-
INCLUDEPATH += . \
29-
..\..\src \
30-
$(GDAL)\include \
31-
$(POSTGRESQL)\src\interfaces\libpq \
32-
$(POSTGRESLIBS += $(POSTGRESQL)\src\interfaces\libpq\Release\libpq.lib \
33-
..\..\src\libqgis.lib \
34-
$(GDAL)\lib\gdal_i.lib
43+
DESTDIR=$${QGISPLUGINDIR}
44+
QT += qt3support svg core gui xml network
3545

36-
DLLDESTDIR= ..\..\win_build\lib\qgis
46+
message("Building libs into $${DESTDIR}")
3747

3848

39-
# Input
4049
HEADERS += qgsconnectiondialog.h \
4150
qgsdbfbase.h \
42-
qgsmessageviewer.h \
51+
qgseditreservedwordsdialog.h \
4352
qgsshapefile.h \
4453
qgsspit.h \
4554
qgsspitplugin.h \
4655
qgseditreservedwordsdialog.h \
47-
..\..\src\qINTERFACES += qgsconnectiondialogbase.ui qgsmessageviewerbase.ui qgsspitbase.ui qgseditreservedwordsbase.ui
56+
spit_icons.h
57+
58+
INTERFACES += qgsconnectiondialogbase.ui \
59+
qgseditreservedwordsbase.ui \
60+
qgsspitbase.ui
61+
62+
SOURCES += qgsconnectiondialog.cpp \
63+
qgseditreservedwordsdialog.cpp \
64+
qgsspit.cpp \
65+
qgsspitplugin.cpp \
66+
qgsshapefile.cpp
67+

0 commit comments

Comments
 (0)
Please sign in to comment.