1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
3
<title>Qwt User's Guide: INSTALL</title>
4
<link href="doxygen.css" rel="stylesheet" type="text/css">
5
<link href="tabs.css" rel="stylesheet" type="text/css">
7
<!-- Generated by Doxygen 1.4.6 -->
10
<li><a href="index.html"><span>Main Page</span></a></li>
11
<li><a href="classes.html"><span>Classes</span></a></li>
12
<li><a href="files.html"><span>Files</span></a></li>
13
<li><a href="pages.html"><span>Related Pages</span></a></li>
15
<h1><a class="anchor" name="qwtinstall">INSTALL</a></h1><div class="fragment"><pre class="fragment">Introduction
18
Qwt uses qmake to build all its components and examples.
19
qmake is part of a Qt distribution.
21
qmake reads project files, that contain the options and rules how to
22
build a certain project. A project file ends with the suffix <span class="stringliteral">"*.pro"</span>.
23
Files that end with the suffix <span class="stringliteral">"*.pri"</span> are included by the project
24
files and contain definitions, that are common <span class="keywordflow">for</span> several project files.
26
qwtconfig.pri is read by all project files of the Qwt package.
27
So the first step is to edit qwtconfig.pri to adjust it to your
33
Qwt/Qt4 supports the MathML render engine from the Qt solutions package,
34
that is only available with a commercial Qt license.
36
You need a release of qtmmlwidget >= 2.1.
37
Copy the files qtmmlwidget.[cpp|h] to textengines/mathml.
39
A) Unix (+ MacOSX) Qt3/Qt4
40
==========================
46
If you didn't enable autobuilding of the examples in qwtconfig.pri
47
you have to build the examples <span class="keyword">this</span> way:
53
If you like to run the examples, don't forget to install the
54
Qwt library/plugins or set the LD_LIBRARY_PATH to the lib directory
55
of your local build. ( On some systems LIBPATH is used instead, on MacOSX
56
it is called DYLD_LIBRARY_PATH. )
61
Please read the qmake documentation how to convert
62
your *.pro files into your development environment.
68
If you didn't enable autobuilding of the examples in qwtconfig.pri
69
you have to build the examples <span class="keyword">this</span> way:
75
admin/msvc-qmake.bat helps users of Visual Studio users to
76
generate makefiles or project files (.dsp <span class="keywordflow">for</span> MSVC-6.0 or vcproj <span class="keywordflow">for</span>
77
MSVC.NET) <span class="keywordflow">for</span> Qwt.
79
To generate makefiles, type: <span class="stringliteral">"admin\msvc-qmake"</span>
80
To generate project files, type: <span class="stringliteral">"admin\msvc-qmake vc"</span>
85
If you use the MinGW compiler from the MSYS shell <span class="keywordflow">do</span>:
87
export MINGW_IN_SHELL=1;
93
If you didn't enable autobuilding of the examples in qwtconfig.pri
94
you have to build the examples <span class="keyword">this</span> way:
98
Well, the Mac is only another Unix system. So read the instructions in A).
103
I only tested Qwt with Qtopia Core in qvfb (Virtual Framebuffer Devivce)
104
Emulator on my Linux box. To build Qwt <span class="keywordflow">for</span> the emulator was as simple as
105
<span class="keywordflow">for</span> a regular Unix build.
110
E) Qtopia (!= Qtopia Core)
112
I once compiled the Qwt library against Qtopia 4.2.0 successfully - but
113
not more. It should be possible to build and install Qwt, but it's
117
</pre></div> <hr size="1"><address style="align: right;"><small>Generated on Mon Feb 26 21:26:20 2007 for Qwt User's Guide by
118
<a href="http://www.doxygen.org/index.html">
119
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6 </small></address>