Skip to content

Commit 2f577d8

Browse files
author
timlinux
committedDec 11, 2006
Make the gps importer plugin under windows / qmake
git-svn-id: http://svn.osgeo.org/qgis/trunk@6234 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 2d50f13 commit 2f577d8

File tree

2 files changed

+50
-16
lines changed

2 files changed

+50
-16
lines changed
 

‎src/plugins/gps_importer/gps_importer.pro

Lines changed: 46 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,60 @@
1-
######################################################################
2-
# Automatically generated by qmake (1.06c) Fri Jul 16 17:05:20 2004
3-
######################################################################
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+
#################################################################
412

13+
#
14+
# This file builds the gps importer plugin
15+
#
16+
17+
include(../../../settings.pro)
18+
TARGET=gpsgplugin
519
TEMPLATE = lib
6-
INCLUDEPATH += . ..\..\src \
7-
$(GEOS)\include
8-
LIBS += ..\..\src\libqgis.lib \
9-
$(GDAL)\lib\gdal_i.lib \
10-
$(GEOS)\lib\geos.lib \
11-
$(POSTGRESQL)\src\interfaces\libpq\Release\libpq.lib
20+
#suffix debug to target if applicable
21+
CONFIG(debug, debug|release){
22+
TARGET = $$member(TARGET, 0)-debug
23+
}
24+
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=gps_importer
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 += .
34+
35+
LIBS += $${QGISCORELIBADD}
36+
LIBS += $${QGISGUILIBADD}
37+
LIBS += $${POSTGRESLIBADD}
38+
39+
40+
DESTDIR=$${QGISPLUGINDIR}
41+
QT += qt3support svg core gui xml network
42+
43+
message("Building libs into $${DESTDIR}")
1244

13-
DLLDESTDIR= ..\..\win_build\lib\qgis
14-
CONFIG += qt dll thread rtti
1545

1646
# Input
47+
FORMS += qgsgpspluginguibase.ui \
48+
qgsgpsdevicedialogbase.ui
1749

1850
HEADERS += qgsgpsplugin.h \
51+
qgsbabelformat.h \
52+
qgsgpsdevice.h\
1953
qgsbabelformat.h \
2054
qgsgpsplugingui.h \
2155
qgsgpsdevicedialog.h
22-
INTERFACES += qgsgpspluginguibase.ui \
23-
qgsgpsdevicedialogbase.ui
2456
SOURCES += qgsgpsplugin.cpp \
25-
qgsbabelformat.h \
57+
qgsgpsdevice.cpp \
2658
qgsbabelformat.cpp \
2759
qgsgpsplugingui.cpp \
2860
qgsgpsdevicedialog.cpp

‎src/plugins/plugins.pro

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,7 @@ SUBDIRS = delimited_text \
1515
copyright_label \
1616
georeferencer \
1717
geoprocessing \
18-
spit
19-
# gps_importer \
18+
spit \
19+
gps_importer
20+
#\
21+
# wfs

0 commit comments

Comments
 (0)
Please sign in to comment.