On Jun 18, 2013, at 4:04 PM, Tom Rondeau <t...@trondeau.com> wrote:
> On Tue, Jun 18, 2013 at 3:53 PM, Michael Dickens <m...@alum.mit.edu> wrote:
>> Traceback (most recent call last):
>>  File "/Users/mlk/Desktop/dial_tone.py", line 149, in <module>
>>    tb = dial_tone()
>>  File "/Users/mlk/Desktop/dial_tone.py", line 101, in __init__
>>    self.top_layout.addWidget(self._qtgui_sink_x_0_win)
>>  File 
>> "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/gnuradio/gr/top_block.py",
>>  line 94, in __getattr__
>>    return getattr(self._tb, name)
>> AttributeError: 'gr_top_block_sptr' object has no attribute 'top_layout'
> 
> That means you haven't selected QTGUI in the Options block in GRC.

Ah; yes.  I'd forgotten about that setting.  Moving the dial_tone.grc sliders 
over to Qt widgets, and dropping in a Qt FFT plot, and making that setting, I 
now get:

QWidget: Must construct a QApplication before a QPaintDevice

So, progress! - MLD


_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to