On Mon, Feb 9, 2015 at 8:56 AM, Chris Hallinan <challi...@gmail.com> wrote:

> On Mon, Feb 9, 2015 at 8:53 AM, Tom Rondeau <t...@trondeau.com> wrote:
> > On Mon, Feb 9, 2015 at 8:34 AM, Philip Balister <phi...@balister.org>
> wrote:
> >>
> >> On 02/09/2015 05:08 AM, Chris Hallinan wrote:
> >> > I'm making much more progress on my embedded x86_64 gnuradio project.
> >> > I am now able to build and run my grc-created python app, but I get
> >> > this error.  I'm using some counter/sliders from Qwt (Qt GUI Range
> >> > block) to be able to change some values interactively.  However, I
> >> > don't seem to have PyQt4.Qwt5, and furthermore, I can't seem to figure
> >> > out how to build/install it.  I have found the source, of course,
> >> > (sourceforge) but not any openembedded recipes for it.  Furthermore,
> >> > it seems to be part of the PyQt4 package, and I don't see any
> >> > reference to a Qwt module within the python-pyqt package.
> >> >
> >> > # ./my_gui.py
> >> >
> >> > Traceback (most recent call last):
> >> >   File "./my_gui.py", line 30, in <module>
> >> >     import PyQt4.Qwt5 as Qwt
> >> >
> >> > ImportError: No module named Qwt5
> >> >
> >> > Thanks in advance for any advice.
> >>
> >> Make a recipe for PyQwt. Sadly this isn't easy.
> >>
> >> The PyQt4 recipe in dizzy isn't 100%, but the one in master should be.
> >>
> >> There is also a long term support issue with PyQwt and qt5, so it sounds
> >> like we need to figure out how to replace Qwt eventually. Tom R. knows
> >> the details.
> >>
> >> Philip
> >
> >
> > PyQWT has refused to move to QWT6, so it's still stuck on QWT5's API. The
> > good thing is that this actually interacts fine with QWT6 for what
> little we
> > use PyQWT for, but the installation process for PyQWT is awkward (at
> best,
> > most would say awful). We have this issue in OE and OS X macports right
> now.
> >
> > We're talking about how to remove the dependency and replace it with
> > something more usable and less likely to fall apart.
>
>
> Then I think my best option is to find a way to not use it. ;)
> I did start hacking on a PyQwt recipe in the early morning hours, and
> realized I was in over my head!
>
> Thanks,
>
> Chris
>

Yeah, don't do that, regardless of what Philip says :)

You might be able to create your own QTGUI Range block that uses
straight-up QT instead of QWT.

http://qt-project.org/doc/qt-4.8/widgets-sliders.html

For that, just look into gr-qtgui/grc/qtgui_range.xml and see about
converting that (maybe making a secondary block for it) that calls just the
QT slider stuff directly.

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

Reply via email to