discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] GUIs are not showing in 'master'


From: Michael Dickens
Subject: Re: [Discuss-gnuradio] GUIs are not showing in 'master'
Date: Tue, 18 Jun 2013 19:55:59 -0400

On Jun 18, 2013, at 4:04 PM, Tom Rondeau <address@hidden> wrote:
> On Tue, Jun 18, 2013 at 3:53 PM, Michael Dickens <address@hidden> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]