discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] question about using qtgui_sink_c from c++


From: Tom Rondeau
Subject: Re: [Discuss-gnuradio] question about using qtgui_sink_c from c++
Date: Sat, 19 May 2012 12:06:45 -0400

On Sat, May 19, 2012 at 11:13 AM, Steve <address@hidden> wrote:
> On 05/19/2012 08:41 AM, Tom Rondeau wrote:
>
>> If you figure out what things need to be updated/fixed for use in C++,
>> please send us a patch!
>>
>> Tom
>>
>>
>
> If I can figure it out I will. There are two .h files from
> .../build/gr-qtgui/lib that are needed. It compiles and I can create a
> block of that type and add it to my flowgraph. But it doesn't do
> anything. The rest of the flowgraph works and I don't get any errors but
> I also don't get any kind of spectrum window to appear.
>
> stephen

Alright, but that sounds like it's in the right direction. You
probably need to get a reference to the qApp and then execute that.
Take a look at some of the Python examples and how they work with the
qApp and then run the "exec_()" method with it. That gets the Qt
engine running.

Tom



reply via email to

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