Skip to content

Commit

Permalink
Patched in qmake pro files contributed by Godofredo Contreras to buil…
Browse files Browse the repository at this point in the history
…d more plugins under windows with qmake

git-svn-id: http://svn.osgeo.org/qgis/trunk@6021 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Oct 27, 2006
1 parent 163b84b commit d2de031
Show file tree
Hide file tree
Showing 4 changed files with 98 additions and 40 deletions.
49 changes: 36 additions & 13 deletions src/plugins/grid_maker/grid_maker.pro
@@ -1,17 +1,37 @@
####################################################################
# Qmake project file for grid_maker plugin
# This file is used by qmake to generate the Makefiles for building
# the QGIS plugin on Windows
#################################################################
#
# grid_maker.pro,v 1.1 2004/06/23 04:15:54 gsherman Exp
####################################################################
# 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 gridmaker plugin
#

include(../../../settings.pro)
TARGET=gridmakerplugin
TEMPLATE = lib
INCLUDEPATH += . ..\..\src
LIBS += ..\..\src\libqgis.lib
CONFIG += qt dll thread
DLLDESTDIR= ..\..\win_build\lib\qgis
#suffix debug to target if applicable
CONFIG(debug, debug|release){
TARGET = $$member(TARGET, 0)-debug
}

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

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

CONFIG += qt dll thread debug rtti


# Input
HEADERS += graticulecreator.h \
plugin.h \
plugingui.h \
Expand All @@ -20,8 +40,11 @@ HEADERS += graticulecreator.h \
utils.h
INTERFACES += pluginguibase.ui
SOURCES += dbfopen.c \
shpopen.c \
utils.c \
graticulecreator.cpp \
# main.cpp \
plugin.cpp \
plugingui.cpp \
shpopen.c \
utils.c


41 changes: 29 additions & 12 deletions src/plugins/north_arrow/north_arrow.pro
@@ -1,18 +1,35 @@
######################################################################
# Automatically generated by qmake (1.06c) Sun Jun 13 19:02:05 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 scale_bar plugin
#

include(../../../settings.pro)
TARGET=northarrowplugin
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
CONFIG += qt dll thread
DLLDESTDIR= ..\..\win_build\lib\qgis
#suffix debug to target if applicable
CONFIG(debug, debug|release){
TARGET = $$member(TARGET, 0)-debug
}

LIBS += $${QGISCORELIBADD}
LIBS += $${QGISGUILIBADD}
DESTDIR=$${QGISPLUGINDIR}
QT += qt3support svg core gui xml network
message("Building libs into $${DESTDIR}")

CONFIG += qt dll thread debug rtti

# Input
HEADERS += plugin.h \
plugingui.h \
pluginguibase.ui.h
Expand Down
6 changes: 3 additions & 3 deletions src/plugins/plugins.pro
Expand Up @@ -8,10 +8,10 @@

TEMPLATE = subdirs
SUBDIRS = delimited_text \
scale_bar \
grid_maker \
north_arrow \
wfs \
copyright_label
#\
# grid_maker \
# gps_importer \
# scale_bar \
# spit
42 changes: 30 additions & 12 deletions src/plugins/scale_bar/scale_bar.pro
@@ -1,18 +1,36 @@
######################################################################
# Automatically generated by qmake (1.06c) Sun Jun 13 19:56:27 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 scale_bar plugin
#

include(../../../settings.pro)
TARGET=scalebarplugin
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
CONFIG += qt dll thread debug
DLLDESTDIR= ..\..\win_build\lib\qgis
#suffix debug to target if applicable
CONFIG(debug, debug|release){
TARGET = $$member(TARGET, 0)-debug
}

LIBS += $${QGISCORELIBADD}
LIBS += $${QGISGUILIBADD}
DESTDIR=$${QGISPLUGINDIR}
QT += qt3support svg core gui xml network
message("Building libs into $${DESTDIR}")

CONFIG += qt dll thread debug rtti


# Input
HEADERS += plugin.h \
plugingui.h \
pluginguibase.ui.h
Expand Down

0 comments on commit d2de031

Please sign in to comment.