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

« back to all changes in this revision

Viewing changes to 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
# Qwt Widget Library
 
3
# Copyright (C) 1997   Josef Wilgen
 
4
# Copyright (C) 2002   Uwe Rathmann
 
5
#
 
6
# This library is free software; you can redistribute it and/or
 
7
# modify it under the terms of the Qwt License, Version 1.0
 
8
################################################################
 
9
 
 
10
QWT_VER_MAJ      = 6
 
11
QWT_VER_MIN      = 0
 
12
QWT_VER_PAT      = 0
 
13
QWT_VERSION      = $${QWT_VER_MAJ}.$${QWT_VER_MIN}.$${QWT_VER_PAT}
 
14
 
 
15
######################################################################
 
16
# Install paths
 
17
######################################################################
 
18
 
 
19
QWT_INSTALL_PREFIX = $$[QT_INSTALL_PREFIX]
 
20
 
 
21
unix {
 
22
    QWT_INSTALL_PREFIX    = $$[QT_INSTALL_PREFIX]
 
23
}
 
24
 
 
25
win32 {
 
26
    QWT_INSTALL_PREFIX    = C:/Qwt-$$QWT_VERSION
 
27
}
 
28
 
 
29
QWT_INSTALL_DOCS      = $${QWT_INSTALL_PREFIX}/share/doc/libqwt-doc
 
30
QWT_INSTALL_HEADERS   = $${QWT_INSTALL_PREFIX}/include/qwt
 
31
QWT_INSTALL_LIBS      = $${QWT_INSTALL_PREFIX}/lib
 
32
 
 
33
######################################################################
 
34
# Designer plugin
 
35
######################################################################
 
36
 
 
37
QWT_INSTALL_PLUGINS   = $$[QT_INSTALL_PLUGINS]/designer
 
38
# QWT_INSTALL_PLUGINS   = $${QT_INSTALL_PREFIX}/plugins/designer
 
39
 
 
40
######################################################################
 
41
# Features
 
42
# When building a Qwt application with qmake you might want to load
 
43
# the compiler/linker flags, that are required to build a Qwt application
 
44
# from qwt.prf. Therefore all you need to do is to add "CONFIG += qwt" 
 
45
# to your project file and take care, that qwt.prf can be found by qmake.
 
46
# ( see http://doc.trolltech.com/4.7/qmake-advanced-usage.html#adding-new-configuration-features )
 
47
# I recommend not to install the Qwt features together with the
 
48
# Qt features, because you will have to reinstall the Qwt features,
 
49
# with every Qt upgrade. 
 
50
######################################################################
 
51
 
 
52
QWT_INSTALL_FEATURES  = $$[QMAKE_MKSPECS]/features
 
53
# QWT_INSTALL_FEATURES  = $${QT_INSTALL_PREFIX}/features
 
54
 
 
55
######################################################################
 
56
# Build the static/shared libraries.
 
57
# If QwtDll is enabled, a shared library is built, otherwise
 
58
# it will be a static library.
 
59
######################################################################
 
60
 
 
61
QWT_CONFIG           += QwtDll
 
62
 
 
63
######################################################################
 
64
# QwtPlot enables all classes, that are needed to use the QwtPlot 
 
65
# widget. 
 
66
######################################################################
 
67
 
 
68
QWT_CONFIG       += QwtPlot
 
69
 
 
70
######################################################################
 
71
# QwtWidgets enables all classes, that are needed to use the all other
 
72
# widgets (sliders, dials, ...), beside QwtPlot. 
 
73
######################################################################
 
74
 
 
75
QWT_CONFIG     += QwtWidgets
 
76
 
 
77
######################################################################
 
78
# If you want to display svg images on the plot canvas, or
 
79
# export a plot to a SVG document
 
80
######################################################################
 
81
 
 
82
QWT_CONFIG     += QwtSvg
 
83
 
 
84
######################################################################
 
85
# You can use the MathML renderer of the Qt solutions package to 
 
86
# enable MathML support in Qwt. Because of license implications
 
87
# the ( modified ) code of the MML Widget solution is included and
 
88
# linked together with the QwtMathMLTextEngine into an own library. 
 
89
# To use it you will have to add "CONFIG += qwtmathml"
 
90
# to your qmake project file.
 
91
######################################################################
 
92
 
 
93
QWT_CONFIG     += QwtMathML
 
94
 
 
95
######################################################################
 
96
# If you want to build the Qwt designer plugin, 
 
97
# enable the line below.
 
98
# Otherwise you have to build it from the designer directory.
 
99
######################################################################
 
100
 
 
101
QWT_CONFIG     += QwtDesigner
 
102
 
 
103
######################################################################
 
104
# If you want to auto build the examples, enable the line below
 
105
# Otherwise you have to build them from the examples directory.
 
106
######################################################################
 
107
 
 
108
# QWT_CONFIG     += QwtExamples
 
109
 
 
110
######################################################################
 
111
# When Qt has been built as framework qmake ( qtAddLibrary ) wants 
 
112
# to link frameworks instead of regular libs
 
113
######################################################################
 
114
 
 
115
macx:CONFIG(qt_framework, qt_framework|qt_no_framework) {
 
116
 
 
117
    QWT_CONFIG += QwtFramework
 
118
}