~ubuntu-branches/ubuntu/oneiric/qwt/oneiric-proposed

« back to all changes in this revision

Viewing changes to qwt/qwtconfig.pri

  • Committer: Bazaar Package Importer
  • Author(s): Fathi Boudra
  • Date: 2011-06-10 11:22:47 UTC
  • mfrom: (1.1.6 upstream) (2.1.4 sid)
  • Revision ID: james.westby@ubuntu.com-20110610112247-0i1019vvmzaq6p86
Tags: 6.0.0-1
* New upstream release (Closes: #624107):
  - drop Qt3 support. (Closes: #604379, #626868)
* Register documentation with doc-base. (Closes: #626567)
* Drop patches:
  - 01_makefiles.diff
  - 02_add_missing_warnings.diff
  - 03_qwt_branch_pull_r544.diff
* Add qwt_install_paths.patch to fix the hardcoded installation paths.
* Update debian/control:
  - drop libqt3-mt-dev build dependency.
  - bump Standards-Version to 3.9.2 (no changes).
  - drop Qt3 related packages.
  - due to bump soname (and as we dropper Qt3 support):
    - libqwt5-qt4-dev -> libqwt-dev
    - libqwt5-qt4 -> libqwt6
    - libqwt5-doc -> libqwt-doc
* Update debian/copyright file.
* Update debian/rules: drop Qt3 packages support.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
######################################################################
2
 
# Install paths
3
 
######################################################################
4
 
 
5
 
VER_MAJ      = 5
6
 
VER_MIN      = 2
7
 
VER_PAT      = 0
8
 
VERSION      = $${VER_MAJ}.$${VER_MIN}.$${VER_PAT}
9
 
 
10
 
unix {
11
 
    INSTALLBASE    = /usr/local/qwt-5.2.0
12
 
}
13
 
 
14
 
win32 {
15
 
    INSTALLBASE    = C:/Qwt-5.2.0
16
 
}
17
 
 
18
 
target.path    = $$INSTALLBASE/lib
19
 
headers.path   = $$INSTALLBASE/include
20
 
doc.path       = $$INSTALLBASE/doc
21
 
 
22
 
######################################################################
23
 
# qmake internal options
24
 
######################################################################
25
 
 
26
 
CONFIG           += qt     # Also for Qtopia Core!
27
 
CONFIG           += warn_on
28
 
CONFIG           += thread
29
 
 
30
 
######################################################################
31
 
# release/debug mode
32
 
# If you want to build both DEBUG_SUFFIX and RELEASE_SUFFIX
33
 
# have to differ to avoid, that they overwrite each other.
34
 
######################################################################
35
 
 
36
 
VVERSION = $$[QT_VERSION]
37
 
isEmpty(VVERSION) {
38
 
 
39
 
    # Qt 3
40
 
    CONFIG           += release     # release/debug
41
 
}
42
 
else {
43
 
    # Qt 4
44
 
    win32 {
45
 
        # On Windows you can't mix release and debug libraries.
46
 
        # The designer is built in release mode. If you like to use it
47
 
        # you need a release version. For your own application development you
48
 
        # might need a debug version. 
49
 
        # Enable debug_and_release + build_all if you want to build both.
50
 
 
51
 
        CONFIG           += release     # release/debug/debug_and_release
52
 
        #CONFIG           += release_and_release
53
 
        #CONFIG           += build_all
54
 
    }
55
 
    else {
56
 
        CONFIG           += release     # release/debug
57
 
    }
58
 
}
59
 
 
60
 
######################################################################
61
 
# If you want to have different names for the debug and release 
62
 
# versions you can add a suffix rule below.
63
 
######################################################################
64
 
 
65
 
DEBUG_SUFFIX        = 
66
 
RELEASE_SUFFIX      = 
67
 
 
68
 
win32 {
69
 
    DEBUG_SUFFIX      = d
70
 
}
71
 
 
72
 
######################################################################
73
 
# Build the static/shared libraries.
74
 
# If QwtDll is enabled, a shared library is built, otherwise
75
 
# it will be a static library.
76
 
######################################################################
77
 
 
78
 
CONFIG           += QwtDll
79
 
 
80
 
######################################################################
81
 
# QwtPlot enables all classes, that are needed to use the QwtPlot 
82
 
# widget. 
83
 
######################################################################
84
 
 
85
 
CONFIG       += QwtPlot
86
 
 
87
 
######################################################################
88
 
# QwtWidgets enables all classes, that are needed to use the all other
89
 
# widgets (sliders, dials, ...), beside QwtPlot. 
90
 
######################################################################
91
 
 
92
 
CONFIG     += QwtWidgets
93
 
 
94
 
######################################################################
95
 
# If you want to display svg imageson the plot canvas, enable the 
96
 
# line below. Note that Qwt needs the svg+xml, when enabling 
97
 
# QwtSVGItem.
98
 
######################################################################
99
 
 
100
 
#CONFIG     += QwtSVGItem
101
 
 
102
 
######################################################################
103
 
# If you have a commercial license you can use the MathML renderer
104
 
# of the Qt solutions package to enable MathML support in Qwt.
105
 
# So if you want this, copy qtmmlwidget.h + qtmmlwidget.cpp to
106
 
# textengines/mathml and enable the line below.
107
 
######################################################################
108
 
 
109
 
#CONFIG     += QwtMathML
110
 
 
111
 
######################################################################
112
 
# If you want to build the Qwt designer plugin, 
113
 
# enable the line below.
114
 
# Otherwise you have to build it from the designer directory.
115
 
######################################################################
116
 
 
117
 
CONFIG     += QwtDesigner
118
 
 
119
 
######################################################################
120
 
# If you want to auto build the examples, enable the line below
121
 
# Otherwise you have to build them from the examples directory.
122
 
######################################################################
123
 
 
124
 
#CONFIG     += QwtExamples