On 05/19/2012 11:06 AM, Tom Rondeau wrote: > 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. > >
Calling the block function exec_() (which calls exec() for the QApplication) was what was needed. And setting the widget to be visible. That makes a window pop up with the spectrum. But for some reason the performance is very bad. A couple of other things. exec() does not return till the QApplication exits. And it must be called from the main thread. At least that is the error output I got when I tried to call it from a boost thread. To use it I would have to redesign my application. So I probably won't be spending any more time with it. stephen _______________________________________________ Discuss-gnuradio mailing list [email protected] https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
