~l3on/ubuntu/oneiric/qwt/fix-921430

« back to all changes in this revision

Viewing changes to qwt-5.0.1/doc/html/qwtinstall.html

  • Committer: Bazaar Package Importer
  • Author(s): Fathi Boudra
  • Date: 2007-10-05 15:20:41 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20071005152041-qmybqh4fj9jejyo2
Tags: 5.0.2-2
* Handle nostrip build option. (Closes: #437877)
* Build libqwt5-doc package in binary-indep target. (Closes: #443110)

Show diffs side-by-side

added added

removed removed

Lines of Context:
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&apos;s Guide: INSTALL</title>
4
 
<link href="doxygen.css" rel="stylesheet" type="text/css">
5
 
<link href="tabs.css" rel="stylesheet" type="text/css">
6
 
</head><body>
7
 
<!-- Generated by Doxygen 1.4.6 -->
8
 
<div class="tabs">
9
 
  <ul>
10
 
    <li><a href="index.html"><span>Main&nbsp;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&nbsp;Pages</span></a></li>
14
 
  </ul></div>
15
 
<h1><a class="anchor" name="qwtinstall">INSTALL</a></h1><div class="fragment"><pre class="fragment">Introduction
16
 
============
17
 
 
18
 
Qwt uses qmake to build all its components and examples. 
19
 
qmake is part of a Qt distribution. 
20
 
 
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.
25
 
 
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
28
 
needs.
29
 
 
30
 
MathML Extension
31
 
================
32
 
 
33
 
Qwt/Qt4 supports the MathML render engine from the Qt solutions package,
34
 
that is only available with a commercial Qt license.
35
 
 
36
 
You need a release of qtmmlwidget &gt;= 2.1.
37
 
Copy the files qtmmlwidget.[cpp|h] to textengines/mathml.
38
 
 
39
 
A) Unix (+ MacOSX) Qt3/Qt4
40
 
==========================
41
 
 
42
 
qmake
43
 
make
44
 
make install
45
 
 
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:
48
 
 
49
 
cd examples
50
 
qmake 
51
 
make
52
 
 
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. )
57
 
 
58
 
B) Win32/MSVC Qt3/Qt4
59
 
=====================
60
 
 
61
 
Please read the qmake documentation how to convert 
62
 
your *.pro files into your development environment.
63
 
 
64
 
F.e MSVC with nmake:
65
 
qmake qwt.pro
66
 
nmake
67
 
 
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:
70
 
 
71
 
cd examples
72
 
nmake examples.pro
73
 
nmake
74
 
 
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.
78
 
 
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>
81
 
 
82
 
C) Win32/MinGW Qt4
83
 
==================
84
 
 
85
 
If you use the MinGW compiler from the MSYS shell <span class="keywordflow">do</span>:
86
 
 
87
 
export MINGW_IN_SHELL=1;
88
 
 
89
 
qmake 
90
 
make -i
91
 
make install
92
 
 
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:
95
 
 
96
 
D) MacOSX
97
 
 
98
 
Well, the Mac is only another Unix system. So read the instructions in A).
99
 
 
100
 
 
101
 
D) Qtopia Core
102
 
 
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.
106
 
 
107
 
qmake
108
 
make
109
 
 
110
 
E) Qtopia (!= Qtopia Core)
111
 
 
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
114
 
not done yet.
115
 
 
116
 
Good luck !
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&nbsp;
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>
120
 
</body>
121
 
</html>