summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/grc_gr_qtgui.m44
-rw-r--r--gr-qtgui/README30
2 files changed, 25 insertions, 9 deletions
diff --git a/config/grc_gr_qtgui.m4 b/config/grc_gr_qtgui.m4
index 300462188..aa8ca7c89 100644
--- a/config/grc_gr_qtgui.m4
+++ b/config/grc_gr_qtgui.m4
@@ -36,8 +36,8 @@ AC_DEFUN([GRC_GR_QTGUI],[
[passed=no;AC_MSG_RESULT([gr-qtgui requires qt, not found. Checking for qt-mt])])
fi
- PKG_CHECK_MODULES(QWT, qwt >= 5.0.0, [],
- [passed=no;AC_MSG_RESULT([gr-qtgui requires qwt, not found.])])
+ AC_HAVE_LIBRARY(qwt, [],
+ [passed=no;AC_MSG_RESULT([gr-qtgui requires qwt, not found.])])
GRC_BUILD_CONDITIONAL([gr-qtgui], [
diff --git a/gr-qtgui/README b/gr-qtgui/README
index d9662d437..c4c32412a 100644
--- a/gr-qtgui/README
+++ b/gr-qtgui/README
@@ -5,13 +5,10 @@ from http://sourceforge.net/projects/qwt
For Linux, this may be obtained from:
- http://n4hy.org/Qwt/qwt.spec
- http://n4hy.org/Qwt/qwt.pc
http://n4hy.org/Qwt/qwt-5.0.0.tar.bz2
- http://n4hy.org/Qwt/qwt-5.0.0-1.src.rpm
On NetBSD or other pkgsrc systems, pkgsrc/x11/qwt exists and seems to
-be a much older version linked against qt2.
+be a much older version linked against qt2. You need qt3!
QTDIR is an environment variable that must be set for
@@ -26,11 +23,30 @@ on Fedora Core 6 for example it is automatically set to
/usr/lib/qt-3.3
-by Qt install
+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
+
+and qwt will be loaded into /usr/local/lib and the includes will be in
+/usr/local/include
+
+gr-qtgui will now make.
+
-Qwt probably needs to be built and installed for now using
-rpmbuild --rebuild qwt-5.0.0-1.src.rpm
which must be run as root (as in sudo) so that files are
installed in the proper place for the gnuradio build