[passed=no;AC_MSG_RESULT([gr-qtgui requires qt, not found. Checking for qt-mt])])
fi
[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], [
GRC_BUILD_CONDITIONAL([gr-qtgui], [
For Linux, this may be obtained from:
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.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
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
QTDIR is an environment variable that must be set for
+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
which must be run as root (as in sudo) so that files are
installed in the proper place for the gnuradio build