Skip to content
Permalink
Browse files

Make the gps importer plugin under windows / qmake

git-svn-id: http://svn.osgeo.org/qgis/trunk@6234 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux
timlinux committed Dec 11, 2006
1 parent 2d50f13 commit 2f577d8a4d6558b04bffed80b65645f715ec243c
Showing with 50 additions and 16 deletions.
  1. +46 −14 src/plugins/gps_importer/gps_importer.pro
  2. +4 −2 src/plugins/plugins.pro
@@ -1,28 +1,60 @@
######################################################################
# Automatically generated by qmake (1.06c) Fri Jul 16 17:05:20 2004
######################################################################
#################################################################
#
# QMAKE Project File for Quantum GIS
#
# Tim Sutton 2006
#
# NOTE: Do not place any hard coded external paths in this file
# all libs and includes should be specified in settings.pro
# in the top level qgis directory.
#
#################################################################

#
# This file builds the gps importer plugin
#

include(../../../settings.pro)
TARGET=gpsgplugin
TEMPLATE = lib
INCLUDEPATH += . ..\..\src \
$(GEOS)\include
LIBS += ..\..\src\libqgis.lib \
$(GDAL)\lib\gdal_i.lib \
$(GEOS)\lib\geos.lib \
$(POSTGRESQL)\src\interfaces\libpq\Release\libpq.lib
#suffix debug to target if applicable
CONFIG(debug, debug|release){
TARGET = $$member(TARGET, 0)-debug
}

# This is a hack (thanks freddy!) because many plugins use the
# same class names and file names we need to force the compiler
# to create separate object files for them.
MYDIRNAME=gps_importer
MOC_DIR = $${OBJDIR}/moc/plugins/$${MYDIRNAME}
UI_DIR = $${OBJDIR}/ui/plugins/$${MYDIRNAME}
win32:OBJECTS_DIR = $${OBJDIR}/o/win32/plugins/$${MYDIRNAME}
INCLUDEPATH += $${OBJDIR}/ui
INCLUDEPATH += .

LIBS += $${QGISCORELIBADD}
LIBS += $${QGISGUILIBADD}
LIBS += $${POSTGRESLIBADD}


DESTDIR=$${QGISPLUGINDIR}
QT += qt3support svg core gui xml network

message("Building libs into $${DESTDIR}")

DLLDESTDIR= ..\..\win_build\lib\qgis
CONFIG += qt dll thread rtti

# Input
FORMS += qgsgpspluginguibase.ui \
qgsgpsdevicedialogbase.ui

HEADERS += qgsgpsplugin.h \
qgsbabelformat.h \
qgsgpsdevice.h\
qgsbabelformat.h \
qgsgpsplugingui.h \
qgsgpsdevicedialog.h
INTERFACES += qgsgpspluginguibase.ui \
qgsgpsdevicedialogbase.ui
SOURCES += qgsgpsplugin.cpp \
qgsbabelformat.h \
qgsgpsdevice.cpp \
qgsbabelformat.cpp \
qgsgpsplugingui.cpp \
qgsgpsdevicedialog.cpp
@@ -15,5 +15,7 @@ SUBDIRS = delimited_text \
copyright_label \
georeferencer \
geoprocessing \
spit
# gps_importer \
spit \
gps_importer
#\
# wfs

0 comments on commit 2f577d8

Please sign in to comment.
You can’t perform that action at this time.