1
################################################################
3
# Copyright (C) 1997 Josef Wilgen
4
# Copyright (C) 2002 Uwe Rathmann
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
################################################################
13
QWT_VERSION = $${QWT_VER_MAJ}.$${QWT_VER_MIN}.$${QWT_VER_PAT}
15
######################################################################
17
######################################################################
19
QWT_INSTALL_PREFIX = $$[QT_INSTALL_PREFIX]
22
QWT_INSTALL_PREFIX = $$[QT_INSTALL_PREFIX]
26
QWT_INSTALL_PREFIX = C:/Qwt-$$QWT_VERSION
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
33
######################################################################
35
######################################################################
37
QWT_INSTALL_PLUGINS = $$[QT_INSTALL_PLUGINS]/designer
38
# QWT_INSTALL_PLUGINS = $${QT_INSTALL_PREFIX}/plugins/designer
40
######################################################################
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
######################################################################
52
QWT_INSTALL_FEATURES = $$[QMAKE_MKSPECS]/features
53
# QWT_INSTALL_FEATURES = $${QT_INSTALL_PREFIX}/features
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
######################################################################
63
######################################################################
64
# QwtPlot enables all classes, that are needed to use the QwtPlot
66
######################################################################
70
######################################################################
71
# QwtWidgets enables all classes, that are needed to use the all other
72
# widgets (sliders, dials, ...), beside QwtPlot.
73
######################################################################
75
QWT_CONFIG += QwtWidgets
77
######################################################################
78
# If you want to display svg images on the plot canvas, or
79
# export a plot to a SVG document
80
######################################################################
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
######################################################################
93
QWT_CONFIG += QwtMathML
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
######################################################################
101
QWT_CONFIG += QwtDesigner
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
######################################################################
108
# QWT_CONFIG += QwtExamples
110
######################################################################
111
# When Qt has been built as framework qmake ( qtAddLibrary ) wants
112
# to link frameworks instead of regular libs
113
######################################################################
115
macx:CONFIG(qt_framework, qt_framework|qt_no_framework) {
117
QWT_CONFIG += QwtFramework