discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Simplest example with qt does nog work which debi


From: Volker Schroer
Subject: Re: [Discuss-gnuradio] Simplest example with qt does nog work which debian testing/buster
Date: Wed, 17 Jan 2018 12:58:21 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2


Sorry if this post appears twice, but my mail provider had problems so I'm not sure if this post was really sent.

Hello,
the line

self.restoreGeometry(self.settings.value("geometry").toByteArray()

is correct.

But gnuradio uses QT4, so  PyQt4 is required.

Volker

Am 17.01.2018 um 11:21 schrieb address@hidden:
    Hello list (second attempt),

Starting with gnuradio on Debian testing/buster and trying a flowgraph with only
a "wav file source" and an "audio sink".

With option "WX gui" it just works, but with option "QT gui" there is the
following error:

  File "/home/sietse/top_block.py", line 55, in __init__
     self.restoreGeometry(self.settings.value("geometry").toByteArray())
AttributeError: 'QByteArray' object has no attribute 'toByteArray'

If I remove that line everything works ok!
PyQt5 is being used.

What am I doing wrong?

   Thanks in advance,
     Sietse


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





reply via email to

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