~ubuntu-branches/ubuntu/wily/qgis/wily

« back to all changes in this revision

Viewing changes to src/plugins/scale_bar/scale_bar.pro

  • Committer: Bazaar Package Importer
  • Author(s): Johan Van de Wauw
  • Date: 2010-07-11 20:23:24 UTC
  • mfrom: (3.1.4 squeeze)
  • Revision ID: james.westby@ubuntu.com-20100711202324-5ktghxa7hracohmr
Tags: 1.4.0+12730-3ubuntu1
* Merge from Debian unstable (LP: #540941).
* Fix compilation issues with QT 4.7
* Add build-depends on libqt4-webkit-dev 

Show diffs side-by-side

added added

removed removed

Lines of Context:
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
 
#################################################################
12
 
 
13
 
#
14
 
# This file builds the scale_bar plugin
15
 
#
16
 
 
17
 
include(../../../settings.pro)
18
 
TARGET=scalebarplugin
19
 
TEMPLATE = lib
20
 
#suffix debug to target if applicable
21
 
CONFIG(debug, debug|release){
22
 
  TARGET = $$member(TARGET, 0)-debug
23
 
}
24
 
 
25
 
 
26
 
# This is a hack (thanks freddy!) because many plugins use the
27
 
# same class names and file names we need to force the compiler
28
 
# to create separate object files for them.
29
 
MYDIRNAME=scale_bar
30
 
MOC_DIR = $${OBJDIR}/moc/plugins/$${MYDIRNAME}
31
 
UI_DIR = $${OBJDIR}/ui/plugins/$${MYDIRNAME}
32
 
win32:OBJECTS_DIR = $${OBJDIR}/o/win32/plugins/$${MYDIRNAME}
33
 
INCLUDEPATH += $${OBJDIR}/ui 
34
 
 
35
 
LIBS += $${QGISCORELIBADD}
36
 
LIBS += $${QGISGUILIBADD}
37
 
DESTDIR=$${QGISPLUGINDIR}
38
 
QT += qt3support svg core gui xml network
39
 
message("Building libs into $${DESTDIR}")
40
 
 
41
 
RESOURCES += scalebar_plugin.qrc
42
 
 
43
 
HEADERS += plugin.h \
44
 
           plugingui.h \
45
 
           pluginguibase.ui.h 
46
 
INTERFACES += pluginguibase.ui
47
 
SOURCES += plugin.cpp \
48
 
           plugingui.cpp