4
Qwt uses qmake to build all its components and examples.
5
qmake is part of a Qt distribution.
7
qmake reads project files, that contain the options and rules how to
8
build a certain project. A project file ends with the suffix "*.pro".
9
Files that end with the suffix "*.pri" are included by the project
10
files and contain definitions, that are common for several project files.
12
qwtconfig.pri is read by all project files of the Qwt package.
13
So the first step is to edit qwtconfig.pri to adjust it to your
19
Qwt/Qt4 supports the MathML render engine from the Qt solutions package,
20
that is only available with a commercial Qt license.
22
You need a release of qtmmlwidget >= 2.1.
23
Copy the files qtmmlwidget.[cpp|h] to textengines/mathml.
25
A) Unix (+ MacOSX) Qt3/Qt4
26
==========================
32
If you didn't enable autobuilding of the examples in qwtconfig.pri
33
you have to build the examples this way:
39
If you like to run the examples, don't forget to install the
40
Qwt library/plugins or set the LD_LIBRARY_PATH to the lib directory
41
of your local build. ( On some systems LIBPATH is used instead, on MacOSX
42
it is called DYLD_LIBRARY_PATH. )
47
Please read the qmake documentation how to convert
48
your *.pro files into your development environment.
54
If you didn't enable autobuilding of the examples in qwtconfig.pri
55
you have to build the examples this way:
61
admin/msvc-qmake.bat helps users of Visual Studio users to
62
generate makefiles or project files (.dsp for MSVC-6.0 or vcproj for
65
To generate makefiles, type: "admin\msvc-qmake"
66
To generate project files, type: "admin\msvc-qmake vc"
73
Start a Windows Shell, where Qt4 is initialized. ( F.e. with
74
"Programs->Qt by Trolltech ...->Qt 4.x.x Command Prompt" ).
79
If you didn't enable autobuilding of the examples in qwtconfig.pri
80
you have to build the examples this way:
87
C2) MSYS Shell Qt >= 4.3.0
89
Support for the MSYS Shell has been improved in Qt 4.3.0.
90
Now building Qwt from the MSYS Shell works exactly like UNIX or in the
93
C3) MSYS Shell Qt < 4.3.0
95
For Qt < 4.3.0 you have to set the MINGW_IN_SHELL variable.
96
make will run into errors with the subdirs target, that can be
99
export MINGW_IN_SHELL=1;
105
If you didn't enable autobuilding of the examples in qwtconfig.pri
106
you have to build the examples this way:
115
Well, the Mac is only another Unix system. So read the instructions in A).
120
I only tested Qwt with Qtopia Core in qvfb (Virtual Framebuffer Devivce)
121
Emulator on my Linux box. To build Qwt for the emulator was as simple as
122
for a regular Unix build.
127
E) Qtopia (!= Qtopia Core)
129
I once compiled the Qwt library against Qtopia 4.2.0 successfully - but
130
not more. It should be possible to build and install Qwt, but it's