Skip to content

Commit d2de031

Browse files
author
timlinux
committedOct 27, 2006
Patched in qmake pro files contributed by Godofredo Contreras to build more plugins under windows with qmake
git-svn-id: http://svn.osgeo.org/qgis/trunk@6021 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 163b84b commit d2de031

File tree

4 files changed

+98
-40
lines changed

4 files changed

+98
-40
lines changed
 

‎src/plugins/grid_maker/grid_maker.pro

Lines changed: 36 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,37 @@
1-
####################################################################
2-
# Qmake project file for grid_maker plugin
3-
# This file is used by qmake to generate the Makefiles for building
4-
# the QGIS plugin on Windows
1+
#################################################################
52
#
6-
# grid_maker.pro,v 1.1 2004/06/23 04:15:54 gsherman Exp
7-
####################################################################
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+
#################################################################
12+
13+
#
14+
# This file builds the gridmaker plugin
15+
#
16+
17+
include(../../../settings.pro)
18+
TARGET=gridmakerplugin
819
TEMPLATE = lib
9-
INCLUDEPATH += . ..\..\src
10-
LIBS += ..\..\src\libqgis.lib
11-
CONFIG += qt dll thread
12-
DLLDESTDIR= ..\..\win_build\lib\qgis
20+
#suffix debug to target if applicable
21+
CONFIG(debug, debug|release){
22+
TARGET = $$member(TARGET, 0)-debug
23+
}
24+
25+
LIBS += $${QGISCORELIBADD}
26+
LIBS += $${QGISGUILIBADD}
27+
DESTDIR=$${QGISPLUGINDIR}
28+
QT += qt3support svg core gui xml network
29+
30+
message("Building libs into $${DESTDIR}")
31+
32+
CONFIG += qt dll thread debug rtti
33+
1334

14-
# Input
1535
HEADERS += graticulecreator.h \
1636
plugin.h \
1737
plugingui.h \
@@ -20,8 +40,11 @@ HEADERS += graticulecreator.h \
2040
utils.h
2141
INTERFACES += pluginguibase.ui
2242
SOURCES += dbfopen.c \
43+
shpopen.c \
44+
utils.c \
2345
graticulecreator.cpp \
46+
# main.cpp \
2447
plugin.cpp \
2548
plugingui.cpp \
26-
shpopen.c \
27-
utils.c
49+
50+

‎src/plugins/north_arrow/north_arrow.pro

Lines changed: 29 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,35 @@
1-
######################################################################
2-
# Automatically generated by qmake (1.06c) Sun Jun 13 19:02:05 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 scale_bar plugin
15+
#
16+
17+
include(../../../settings.pro)
18+
TARGET=northarrowplugin
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
12-
CONFIG += qt dll thread
13-
DLLDESTDIR= ..\..\win_build\lib\qgis
20+
#suffix debug to target if applicable
21+
CONFIG(debug, debug|release){
22+
TARGET = $$member(TARGET, 0)-debug
23+
}
24+
25+
LIBS += $${QGISCORELIBADD}
26+
LIBS += $${QGISGUILIBADD}
27+
DESTDIR=$${QGISPLUGINDIR}
28+
QT += qt3support svg core gui xml network
29+
message("Building libs into $${DESTDIR}")
30+
31+
CONFIG += qt dll thread debug rtti
1432

15-
# Input
1633
HEADERS += plugin.h \
1734
plugingui.h \
1835
pluginguibase.ui.h

‎src/plugins/plugins.pro

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88

99
TEMPLATE = subdirs
1010
SUBDIRS = delimited_text \
11+
scale_bar \
12+
grid_maker \
13+
north_arrow \
1114
wfs \
1215
copyright_label
13-
#\
14-
# grid_maker \
1516
# gps_importer \
16-
# scale_bar \
1717
# spit

‎src/plugins/scale_bar/scale_bar.pro

Lines changed: 30 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,36 @@
1-
######################################################################
2-
# Automatically generated by qmake (1.06c) Sun Jun 13 19:56:27 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 scale_bar plugin
15+
#
16+
17+
include(../../../settings.pro)
18+
TARGET=scalebarplugin
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
12-
CONFIG += qt dll thread debug
13-
DLLDESTDIR= ..\..\win_build\lib\qgis
20+
#suffix debug to target if applicable
21+
CONFIG(debug, debug|release){
22+
TARGET = $$member(TARGET, 0)-debug
23+
}
24+
25+
LIBS += $${QGISCORELIBADD}
26+
LIBS += $${QGISGUILIBADD}
27+
DESTDIR=$${QGISPLUGINDIR}
28+
QT += qt3support svg core gui xml network
29+
message("Building libs into $${DESTDIR}")
30+
31+
CONFIG += qt dll thread debug rtti
32+
1433

15-
# Input
1634
HEADERS += plugin.h \
1735
plugingui.h \
1836
pluginguibase.ui.h

0 commit comments

Comments
 (0)
Please sign in to comment.