1qwtinstall(3)                  Qwt User's Guide                  qwtinstall(3)
2
3
4

NAME

6       qwtinstall - INSTALL
7
8       Introduction
9       ============
10
11       Qwt uses qmake to build all its components and examples.
12       qmake is part of a Qt distribution.
13
14       qmake reads project files, that contain the options and rules how to
15       build a certain project. A project file ends with the suffix '*.pro'.
16       Files that end with the suffix '*.pri' are included by the project
17       files and contain definitions, that are common for several project files.
18
19       qwtconfig.pri is read by all project files of the Qwt package.
20       So the first step is to edit qwtconfig.pri to adjust it to your
21       needs.
22
23       MathML Extension
24       ================
25
26       Qwt/Qt4 supports the MathML render engine from the Qt solutions package,
27       that is only available with a commercial Qt license.
28
29       You need a release of qtmmlwidget >= 2.1.
30       Copy the files qtmmlwidget.[cpp|h] to textengines/mathml.
31
32       A) Unix (+ MacOSX) Qt3/Qt4
33       ==========================
34
35       qmake
36       make
37       make install
38
39       If you didn't enable autobuilding of the examples in qwtconfig.pri
40       you have to build the examples this way:
41
42       cd examples
43       qmake
44       make
45
46       If you like to run the examples, don't forget to install the
47       Qwt library/plugins or set the LD_LIBRARY_PATH to the lib directory
48       of your local build. ( On some systems LIBPATH is used instead, on MacOSX
49       it is called DYLD_LIBRARY_PATH. )
50
51       B) Win32/MSVC Qt3/Qt4
52       =====================
53
54       Please read the qmake documentation how to convert
55       your *.pro files into your development environment.
56
57       F.e MSVC with nmake:
58       qmake qwt.pro
59       nmake
60
61       If you didn't enable autobuilding of the examples in qwtconfig.pri
62       you have to build the examples this way:
63
64       cd examples
65       nmake examples.pro
66       nmake
67
68       admin/msvc-qmake.bat helps users of Visual Studio users to
69       generate makefiles or project files (.dsp for MSVC-6.0 or vcproj for
70       MSVC.NET) for Qwt.
71
72       To generate makefiles, type: 'adminvc-qmake'
73       To generate project files, type: 'adminvc-qmake vc'
74
75       C) Win32/MinGW Qt4
76       ==================
77
78       C1) Windows Shell
79
80       Start a Windows Shell, where Qt4 is initialized. ( F.e. with
81
82       qmake qwt.pro
83       make
84
85       If you didn't enable autobuilding of the examples in qwtconfig.pri
86       you have to build the examples this way:
87
88       cd examples
89       qmake examples.pro
90       make
91       make install
92
93       C2) MSYS Shell Qt >= 4.3.0
94
95       Support for the MSYS Shell has been improved in Qt 4.3.0.
96       Now building Qwt from the MSYS Shell works exactly like UNIX or in the
97       Windows Shell.
98
99       C3) MSYS Shell Qt < 4.3.0
100
101       For Qt < 4.3.0 you have to set the MINGW_IN_SHELL variable.
102       make will run into errors with the subdirs target, that can be
103       ignored (make -i).
104
105       export MINGW_IN_SHELL=1;
106
107       qmake
108       make -i
109       make -i install
110
111       If you didn't enable autobuilding of the examples in qwtconfig.pri
112       you have to build the examples this way:
113
114       cd examples
115       qmake examples.pro
116       make -i
117       make -i install
118
119       D) MacOSX
120
121       Well, the Mac is only another Unix system. So read the instructions in A).
122
123
124       D) Qtopia Core
125
126       I only tested Qwt with Qtopia Core in qvfb (Virtual Framebuffer Devivce)
127       Emulator on my Linux box. To build Qwt for the emulator was as simple as
128       for a regular Unix build.
129
130       qmake
131       make
132
133       E) Qtopia (!= Qtopia Core)
134
135       I once compiled the Qwt library against Qtopia 4.2.0 successfully - but
136       not more. It should be possible to build and install Qwt, but it's
137       not done yet.
138
139       Good luck !
140
141Version 5.0.2                     11 Jun 2007                    qwtinstall(3)
Impressum