Skip to content
Permalink
Browse files
Patched in qmake pro files contributed by Godofredo Contreras to buil…
…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 d2de0319e431ac40860fce7eca695b1bb0b33f64
Showing with 98 additions and 40 deletions.
  1. +36 −13 src/plugins/grid_maker/grid_maker.pro
  2. +29 −12 src/plugins/north_arrow/north_arrow.pro
  3. +3 −3 src/plugins/plugins.pro
  4. +30 −12 src/plugins/scale_bar/scale_bar.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 \
@@ -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


@@ -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
@@ -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
@@ -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

0 comments on commit d2de031

Please sign in to comment.