summaryrefslogtreecommitdiff
path: root/gr-qtgui/README
blob: 428c59895067c266d193262b10b77a2567b53564 (plain)
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
This requires qt 3 or later.  See http://www.trolltech.com

To support the widgets needed for this code you need Qwt, available
from http://sourceforge.net/projects/qwt

For Linux, this may be obtained from:

  http://n4hy.org/Qwt/qwt-5.0.0.tar.bz2

On NetBSD or other pkgsrc systems, pkgsrc/x11/qwt exists and seems to
be a much older version linked against qt2.  You need qt3!


QTDIR is an environment variable that must be set for
gr-qtgui to make.

On Ubuntu with a standard apt-get or synaptic install,
this is done by:

export QTDIR=/usr/share/qt3

on Fedora Core 6 for example it is automatically set to 

/usr/lib/qt-3.3

by Qt install from the Fedora Core software setup.

If you are building from source from n4hy.org, the untar the bz2 ball,
cd into the qwt-5.0.0 directory and run

qmake

Now edit the file  qwtconfig.pri

and make the INSTALLBASE = /usr/local



run 

make
sudo make install

edit qwt.pc and change the prefix to be /usr/local and then install this file in /usr/local/lib/pkgconfig


qwt will be loaded into /usr/local/lib and the includes will be in /usr/local/include,  qwt.pc will cause all of the
necessary flags to be including in the make files.

gr-qtgui will now make. 




which must be run as root (as in sudo) so that files are
installed in the proper place for the gnuradio build
(such as qwt.pc).