[pulseaudio-tickets] [Bug 102572] [FR] port qpaeq to qt5
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sun Apr 8 20:18:23 UTC 2018
https://bugs.freedesktop.org/show_bug.cgi?id=102572
--- Comment #5 from Andrius Štikonas <andrius at stikonas.eu> ---
Hi, thanks for fixing this! Maybe submit it via
https://patchwork.freedesktop.org/project/pulseaudio/patches/
so that pulseaudio developers might pull it quicker (I had to wait for a few
weeks her on bugzilla)
(In reply to Felipe Sateler from comment #4)
> The patch is incomplete: dbus.mainloop.qt is part of pyqt4. Fortunately the
> fix is simple:
>
> diff --git a/src/utils/qpaeq b/src/utils/qpaeq
> index 508b233db..a319dad09 100755
> --- a/src/utils/qpaeq
> +++ b/src/utils/qpaeq
> @@ -20,7 +20,7 @@ import os,math,sys
> try:
> import PyQt5,sip
> from PyQt5 import QtWidgets,QtCore
> - import dbus.mainloop.qt
> + import dbus.mainloop.pyqt5
> import dbus
> except ImportError as e:
> sys.stderr.write('There was an error importing needed libraries\n'
> @@ -565,7 +565,7 @@ def subdivide(xs, t_points):
> return left+right
>
> def main():
> - dbus.mainloop.qt.DBusQtMainLoop(set_as_default=True)
> + dbus.mainloop.pyqt5.DBusQtMainLoop(set_as_default=True)
> app=QtWidgets.QApplication(sys.argv)
> qpaeq_main=QPaeq()
> qpaeq_main.show()
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pulseaudio-bugs/attachments/20180408/d550d3fb/attachment.html>
More information about the pulseaudio-bugs
mailing list