<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:fsateler@gmail.com" title="Felipe Sateler <fsateler@gmail.com>"> <span class="fn">Felipe Sateler</span></a>
</span> changed
<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>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>RESOLVED
</td>
<td>REOPENED
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>FIXED
</td>
<td>---
</td>
</tr></table>
<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#c4">Comment # 4</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:fsateler@gmail.com" title="Felipe Sateler <fsateler@gmail.com>"> <span class="fn">Felipe Sateler</span></a>
</span></b>
<pre>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()</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>