From 7ed83c72dbd079a50a421661a874c3ac94a34bd6 Mon Sep 17 00:00:00 2001
From: Josh Blum
Date: Sun, 5 Dec 2010 17:21:07 -0500
Subject: grc: added qtgui support to grc (just added sink)
---
grc/blocks/options.xml | 8 ++++++++
1 file changed, 8 insertions(+)
(limited to 'grc/blocks/options.xml')
diff --git a/grc/blocks/options.xml b/grc/blocks/options.xml
index 4d0dd2899..62ceeba0f 100644
--- a/grc/blocks/options.xml
+++ b/grc/blocks/options.xml
@@ -15,6 +15,10 @@
from grc_gnuradio import wxgui as grc_wxgui
import wx
#end if
+#if $generate_options() == 'qt_gui'
+from PyQt4 import QtGui
+import sys
+#end if
#if $generate_options() != 'hb'
from optparse import OptionParser
from gnuradio.eng_option import eng_option
@@ -61,6 +65,10 @@ else: self.stop(); self.wait()
WX GUI
wx_gui
+