~ubuntu-branches/ubuntu/precise/koffice/precise

« back to all changes in this revision

Viewing changes to kchart/kdchart/examples/examples.pri

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2010-09-21 15:36:35 UTC
  • mfrom: (1.4.1 upstream) (60.2.11 maverick)
  • Revision ID: james.westby@ubuntu.com-20100921153635-6tejqkiro2u21ydi
Tags: 1:2.2.2-0ubuntu3
Add kubuntu_03_fix-crash-on-closing-sqlite-connection-2.2.2.diff and
kubuntu_04_support-large-memo-values-for-msaccess-2.2.2.diff as
recommended by upstream http://kexi-
project.org/wiki/wikiview/index.php@Kexi2.2_Patches.html#sqlite_stab
ility

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
 
2
 
# This file is included by all of the examples' *.pro files.
3
 
 
4
 
# Note: KDCHART_PATH is set in the calling .pro file,
5
 
#       before examples.pri is included
6
 
 
7
 
 
8
 
 
9
 
# 1. Work around a qmake bug:
10
 
#
11
 
#    The bug would produce invalid *.exe files when KD Chart is linked
12
 
#    statically and examples are build right after building the lib.
13
 
staticlib {
14
 
  CONFIG -= staticlib
15
 
  DEFINES += KDCHART_STATICLIB
16
 
}
17
 
 
18
 
 
19
 
# 2. Use the filename "kdchartd.dll" (or "kdchartd.lib") on Windows
20
 
#    to avoid name clashes between debug/non-debug versions of the
21
 
#    KD Chart library:
22
 
KDCHARTLIB = kdchart
23
 
CONFIG(debug, debug|release) {
24
 
    !unix: KDCHARTLIB = "kdchartd"
25
 
}
26
 
 
27
 
 
28
 
# 3. Adjust the paths and LIBS according to KDCHART_PATH.
29
 
#    Note: KDCHART_PATH is set in the calling .pro file,
30
 
#          before examples.pri is included
31
 
INCLUDEPATH += \
32
 
            $$KDCHART_PATH/include \
33
 
            $$KDCHART_PATH/examples/tools
34
 
DEPENDPATH += \
35
 
            $$KDCHART_PATH/include \
36
 
            $$KDCHART_PATH/examples/tools
37
 
LIBS        += -L$$KDCHART_PATH/lib -l$$KDCHARTLIB -ltesttools
38
 
 
39
 
 
40
 
# 4. Miscellaneous settings:
41
 
unix {
42
 
  MOC_DIR = .moc
43
 
  OBJECTS_DIR = .obj
44
 
  UI_DIR = .ui
45
 
}
46
 
!unix {
47
 
  MOC_DIR = _moc
48
 
  OBJECTS_DIR = _obj
49
 
  UI_DIR = _ui
50
 
}