[pulseaudio-tickets] [Bug 102572] [FR] port qpaeq to qt5

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Apr 5 18:43:54 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=102572

Felipe Sateler <fsateler at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |---

--- Comment #4 from Felipe Sateler <fsateler at gmail.com> ---
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/20180405/598d1750/attachment.html>


More information about the pulseaudio-bugs mailing list