summaryrefslogtreecommitdiff
path: root/grc/blocks/options.xml
diff options
context:
space:
mode:
Diffstat (limited to 'grc/blocks/options.xml')
-rw-r--r--grc/blocks/options.xml8
1 files changed, 8 insertions, 0 deletions
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
@@ -62,6 +66,10 @@ else: self.stop(); self.wait()</callback>
<key>wx_gui</key>
</option>
<option>
+ <name>QT GUI</name>
+ <key>qt_gui</key>
+ </option>
+ <option>
<name>No GUI</name>
<key>no_gui</key>
</option>