summaryrefslogtreecommitdiff
path: root/gr-zeromq/examples/python
diff options
context:
space:
mode:
authorA. Maitland Bottoms <bottoms@debian.org>2020-11-21 14:05:53 -0500
committerMarcus Müller <marcus@hostalia.de>2020-12-18 18:19:05 +0100
commitaf408c76d0e4993e71a91051ed09c923749c6383 (patch)
treeb421d86582c7cbd5122e02e8df218cbd567fe199 /gr-zeromq/examples/python
parentab178dbc86fc1dd7c78dcb59c9aabc19ac52fc0b (diff)
more qt4 qt5 updates
Have additional apps, examples, and tools use Qt5 instead of Qt4.
Diffstat (limited to 'gr-zeromq/examples/python')
-rwxr-xr-xgr-zeromq/examples/python/fixui4py.sh2
-rw-r--r--gr-zeromq/examples/python/gui.py4
-rw-r--r--gr-zeromq/examples/python/main_window.ui2
3 files changed, 4 insertions, 4 deletions
diff --git a/gr-zeromq/examples/python/fixui4py.sh b/gr-zeromq/examples/python/fixui4py.sh
index d2978000bf..a66e52e3a8 100755
--- a/gr-zeromq/examples/python/fixui4py.sh
+++ b/gr-zeromq/examples/python/fixui4py.sh
@@ -1,2 +1,2 @@
#!/bin/bash
-sed -i 's/qwt_plot.h/PyQt4.Qwt5.Qwt/' $1
+sed -i 's/qwt_plot.h/PyQt5.Qwt5.Qwt/' $1
diff --git a/gr-zeromq/examples/python/gui.py b/gr-zeromq/examples/python/gui.py
index 7d19735482..3105470ec7 100644
--- a/gr-zeromq/examples/python/gui.py
+++ b/gr-zeromq/examples/python/gui.py
@@ -14,8 +14,8 @@ from gnuradio.eng_arg import eng_float, intx
import gui
import sys
import os
-from PyQt4 import Qt, QtGui, QtCore, uic
-import PyQt4.Qwt5 as Qwt
+from PyQt5 import Qt, QtGui, QtCore, uic
+import PyQt5.Qwt5 as Qwt
from gnuradio import zeromq
import signal
diff --git a/gr-zeromq/examples/python/main_window.ui b/gr-zeromq/examples/python/main_window.ui
index 14f810e67d..02233f95bd 100644
--- a/gr-zeromq/examples/python/main_window.ui
+++ b/gr-zeromq/examples/python/main_window.ui
@@ -191,7 +191,7 @@
<customwidget>
<class>QwtPlot</class>
<extends>QFrame</extends>
- <header>PyQt4.Qwt5.Qwt</header>
+ <header>PyQt5.Qwt5.Qwt</header>
</customwidget>
</customwidgets>
<resources/>