summaryrefslogtreecommitdiff
path: root/config/grc_gr_qtgui.m4
diff options
context:
space:
mode:
authortrondeau2009-04-15 03:49:04 +0000
committertrondeau2009-04-15 03:49:04 +0000
commit322e065b19c922e2a9cc1710876e32d100453181 (patch)
treeacc0c5d9643fd647d128ca4215147eef79189af3 /config/grc_gr_qtgui.m4
parentae5fa9430882f5140a3c9a9b61e4a5f7c4ed9127 (diff)
downloadgnuradio-322e065b19c922e2a9cc1710876e32d100453181.tar.gz
gnuradio-322e065b19c922e2a9cc1710876e32d100453181.tar.bz2
gnuradio-322e065b19c922e2a9cc1710876e32d100453181.zip
Merging qtdevel2 branch -r10565:10849. This adds a lot of fixes and capabilities to the qtgui package. Most importantly, it allows interaction between PyQt and the C++ Qt routines in the gnuradio library.
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10850 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'config/grc_gr_qtgui.m4')
-rw-r--r--config/grc_gr_qtgui.m48
1 files changed, 8 insertions, 0 deletions
diff --git a/config/grc_gr_qtgui.m4 b/config/grc_gr_qtgui.m4
index a62612904..d9700776c 100644
--- a/config/grc_gr_qtgui.m4
+++ b/config/grc_gr_qtgui.m4
@@ -28,6 +28,14 @@ AC_DEFUN([GRC_GR_QTGUI],[
dnl yes : if the --enable code passed muster and all dependencies are met
dnl no : otherwise
+ PYTHON_CHECK_MODULE([PyQt4.QtCore], [PyQt4 for Qt4], \
+ [passed=yes], [passed=no], \
+ [PyQt4.QtCore.PYQT_VERSION >= 260000])
+
+ # Enable this if we want to test for PyQwt, too
+ #PYTHON_CHECK_MODULE([PyQt4.Qwt5], [PyQwt5 for Qt4], \
+ # [passed=yes], [passed=no], \
+ # [PyQt4.Qwt5.QWT_VERSION >= 327000])
# Check for:
# QtOpenGL