c4c32412adda394c733dce39c4cda2836d6e3f69
[debian/gnuradio] / gr-qtgui / README
1 This requires qt 3 or later.  See http://www.trolltech.com
2
3 To support the widgets needed for this code you need Qwt, available
4 from http://sourceforge.net/projects/qwt
5
6 For Linux, this may be obtained from:
7
8   http://n4hy.org/Qwt/qwt-5.0.0.tar.bz2
9
10 On NetBSD or other pkgsrc systems, pkgsrc/x11/qwt exists and seems to
11 be a much older version linked against qt2.  You need qt3!
12
13
14 QTDIR is an environment variable that must be set for
15 gr-qtgui to make.
16
17 On Ubuntu with a standard apt-get or synaptic install,
18 this is done by:
19
20 export QTDIR=/usr/share/qt3
21
22 on Fedora Core 6 for example it is automatically set to 
23
24 /usr/lib/qt-3.3
25
26 by Qt install from the Fedora Core software setup.
27
28 If you are building from source from n4hy.org, the untar the bz2 ball,
29 cd into the qwt-5.0.0 directory and run
30
31 qmake
32
33 Now edit the file  qwtconfig.pri
34
35 and make the INSTALLBASE = /usr/local
36
37
38 run 
39
40 make
41 sudo make install
42
43 and qwt will be loaded into /usr/local/lib and the includes will be in
44 /usr/local/include
45
46 gr-qtgui will now make.
47
48
49
50
51 which must be run as root (as in sudo) so that files are
52 installed in the proper place for the gnuradio build
53 (such as qwt.pc).  
54