File: qwtinstall.html

package info (click to toggle)
libqwt 4.2.0-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 9,856 kB
  • ctags: 5,512
  • sloc: cpp: 22,973; ansic: 244; makefile: 59
file content (90 lines) | stat: -rw-r--r-- 3,240 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>Qwt User&apos;s Guide: INSTALL</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3.8 -->
<div class="qindex"><a class="qindex" href="index.html">Main&nbsp;Page</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Class&nbsp;List</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Class&nbsp;Members</a> | <a class="qindex" href="globals.html">File&nbsp;Members</a> | <a class="qindex" href="pages.html">Related&nbsp;Pages</a></div>
<h1><a class="anchor" name="qwtinstall">INSTALL</a></h1><div class="fragment"><pre>Unix
====

For building Qwt <span class="keywordflow">for</span> Qt 2.x you need tmake. On SuSE it is hidden
in a <span class="keyword">package </span>called qt-freebies. It can be downloaded from
http:<span class="comment">//www.trolltech.com/developer/download/tmake.html.</span>

You have to set TMAKEPATH to point
to your development environment and run tmake:

export TMAKEPATH=/usr/lib/tmake/linux-g++ # path depends on your system
tmake qwt.pro -o Makefile
make

If you like to build the examples:

cd examples
tmake examples.pro -o Makefile
make

Builds for Qt 3.x need qmake, that is official part of Qt 3.x.

qmake qwt.pro 
make

The designer plugin is available for Qt &gt; 3.x only. You can build and 
install it with:

cd designer
qmake qwtplugin.pro
make
make install


If you like to build the examples:

cd examples
qmake examples.pro 
make

If you like to run the examples, don't forget to install the qwt libraries
or set the LD_LIBRARY_PATH to the lib directory of your local build.

qwt doesn't distribute binary unix packages. qwt.spec is a template
spec file for building rpm packages. Read the comments at the beginning 
of qwt.pro how to use it.

Win32
-----

Please read the qmake/tmake documentation how to convert 
your *.pro files into your development environment.

F.e Qt &gt;= 3.0, MSVC with nmake:
qmake qwt.pro
nmake
cd examples
qmake examples.pro
nmake

Qt-NonCommercial users beware: tmake does not understand the subdirs template
and the .dsp files for Visual Studio are for MSVC-5.0 instead of MSVC-6.0
The msvc-tmake.bat batch file generates makefiles for Qwt and all examples.
Simply type: msvc-tmake

There is a msvc-qmake.bat batch file for Visual Studio users with Qt &gt;= 3.0 to
generate makefiles or project files (.dsp for MSVC-6.0 or vcproj for MSVC.NET)
for Qwt, all examples and the designer plugin.
To generate makefiles, type: msvc-qmake
To generate project files, type: msvc-qmake vc

Qtopia
------

Change "CONFIG = qt" to "CONFIG = qtopia" and continue like for
any other Qtopia build.

Good luck !
</pre></div> <hr size="1"><address style="align: right;"><small>Generated on Tue Nov 16 21:12:43 2004 for Qwt User's Guide by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 ></a> 1.3.8 </small></address>
</body>
</html>