<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - [FR] port qpaeq to qt5"
href="https://bugs.freedesktop.org/show_bug.cgi?id=102572#c5">Comment # 5</a>
on <a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - [FR] port qpaeq to qt5"
href="https://bugs.freedesktop.org/show_bug.cgi?id=102572">bug 102572</a>
from <span class="vcard"><a class="email" href="mailto:andrius@stikonas.eu" title="Andrius Štikonas <andrius@stikonas.eu>"> <span class="fn">Andrius Štikonas</span></a>
</span></b>
<pre>Hi, thanks for fixing this! Maybe submit it via
<a href="https://patchwork.freedesktop.org/project/pulseaudio/patches/">https://patchwork.freedesktop.org/project/pulseaudio/patches/</a>
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 <a href="show_bug.cgi?id=102572#c4">comment #4</a>)
<span class="quote">> 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()</span ></pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>