The correct grc_qt_qtgui.m4 and modified instructions for qwt install provided in...
[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
39 run 
40
41 make
42 sudo make install
43
44 edit qwt.pc and change the prefix to be /usr/local and then install this file in /usr/local/lib/pkgconfig
45
46
47 qwt will be loaded into /usr/local/lib and the includes will be in /usr/local/include,  qwt.pc will cause all of the
48 necessary flags to be including in the make files.
49
50 gr-qtgui will now make. 
51
52
53
54
55 which must be run as root (as in sudo) so that files are
56 installed in the proper place for the gnuradio build
57 (such as qwt.pc).  
58