The correct grc_qt_qtgui.m4 and modified instructions for qwt install provided in...
authorn4hy <n4hy@221aa14e-8319-0410-a670-987f0aec2ac5>
Sun, 4 Mar 2007 04:10:11 +0000 (04:10 +0000)
committern4hy <n4hy@221aa14e-8319-0410-a670-987f0aec2ac5>
Sun, 4 Mar 2007 04:10:11 +0000 (04:10 +0000)
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@4709 221aa14e-8319-0410-a670-987f0aec2ac5

config/grc_gr_qtgui.m4
gr-qtgui/README

index aa8ca7c89125770b306f7e349688f0e2d428a156..8c5216971b131a3d7a7bec3e798b10fb5829bc2e 100644 (file)
@@ -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
 
-    AC_HAVE_LIBRARY(qwt, [],
-       [passed=no;AC_MSG_RESULT([gr-qtgui requires qwt, not found.])])
+    PKG_CHECK_MODULES(qwt, qwt >= 5.0,[],
+    [passed=no;AC_MSG_RESULT([gr-qtgui requires qwt, not found. Checking for qt-mt])])
 
     
     GRC_BUILD_CONDITIONAL([gr-qtgui], [
index c4c32412adda394c733dce39c4cda2836d6e3f69..428c59895067c266d193262b10b77a2567b53564 100644 (file)
@@ -35,15 +35,19 @@ 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
+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.
+gr-qtgui will now make.