Skip to content

Commit 6db9eb5

Browse files
author
timlinux
committed
Fix for Ticket #469 (WinQGIS: Cannot load gpx files)
git-svn-id: http://svn.osgeo.org/qgis/branches/Release-0_8_0@6377 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 76bf41f commit 6db9eb5

File tree

3 files changed

+29
-13
lines changed

3 files changed

+29
-13
lines changed

settings.pro

+1
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@ macx:GDALLIBADD=-framework gdal
172172
SQLITELIBADD=-lsqlite3
173173
PROJLIBADD=-lproj
174174
GEOSLIBADD=-lgeos
175+
EXPATLIBADD=-lexpat
175176

176177
win32:LIBS += -lWs2_32
177178

src/providers/gpx/gpx.pro

+27-12
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,32 @@
1-
######################################################################
2-
# Automatically generated by qmake (1.06c) Sat Jun 12 13:28:41 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+
include(../../../settings.pro)
14+
TARGET=gpxprovider
515
TEMPLATE = lib
6-
INCLUDEPATH += . \
7-
$(GEOS)\include
8-
LIBS += ..\..\src\libqgis.lib \
9-
$(GEOS)\lib\geos.lib
10-
11-
CONFIG += qt dll thread
12-
DLLDESTDIR= ..\..\win_build\lib\qgis
13-
14-
# Input
16+
#suffix debug to target if applicable
17+
CONFIG(debug, debug|release){
18+
TARGET = $$member(TARGET, 0)-debug
19+
}
20+
LIBS += $${GDALLIBADD}
21+
LIBS += $${GEOSLIBADD}
22+
LIBS += $${EXPATLIBADD}
23+
#LIBS += $${PROJLIBADD}
24+
LIBS += $${QGISCORELIBADD}
25+
LIBS += $${QGISGUILIBADD}
26+
LIBS += $${QGISPROJECTIONSELECTORLIBADD}
27+
DESTDIR=$${QGISPROVIDERDIR}
28+
QT += qt3support svg core gui xml network
29+
message("Building libs into $${DESTDIR}")
1530
HEADERS += gpsdata.h qgsgpxprovider.h
1631
SOURCES += gpsdata.cpp \
1732
qgsgpxprovider.cpp

src/providers/providers.pro

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@
1010
#
1111
#################################################################
1212
TEMPLATE = subdirs
13-
SUBDIRS = ogr delimitedtext grass postgres wms wfs
13+
SUBDIRS = ogr delimitedtext grass postgres wms wfs gpx

0 commit comments

Comments
 (0)