[PyQt] Fwd: pyqt4-dev-tools: defining a pyqtSignal(str) fires a pyqtSignal(QString).
Dmitry Shachnev
mitya57 at ubuntu.com
Sat Jun 20 13:52:29 BST 2015
Hi Enno,
Forwarding your bug report to upstream mailing list.
--
Dmitry Shachnev
---------- Forwarded message ----------
From: Enno <enno.vet at gmx.net>
Date: 2015-06-19 23:39 GMT+03:00
Subject: Bug#789330: pyqt4-dev-tools: defining a pyqtSignal(str) fires
a pyqtSignal(QString).
To: Debian Bug Tracking System <submit at bugs.debian.org>
Package: pyqt4-dev-tools
Version: 4.11.3+dfsg-2
Severity: normal
Dear Maintainer,
* What led up to the situation?
Defined a class with signals:
class Blahwoof(QMainWindow):
helpsig = pyqtSignal(str)
...
Connected the signal to a function:
def react(self, sig='poof'):
self.helpsig.emit(sig)
Defined a function catching that signal, but instead of a <str> a
<QString> was received.
If I define the signal as:
helpsig = pyqtSignal(object)
the function receives a <str>.
This happens since about 4.11.2+dfsg-1, before it worked fine with the
pyqtSignal(str) definition.
I suppose it's an upstream item.
Brgds, e.
-- System Information:
Debian Release: 7.1
APT prefers testing
APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 3.2.65-mash-rt94
Locale: LANG=de_AT at euro, LC_CTYPE=de_AT at euro (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
Versions of packages pyqt4-dev-tools depends on:
ii libc6 2.19-11
ii libgcc1 1:4.8.1-2
ii libqt4-xml 4:4.8.6+git64-g5dc8b2b+dfsg-2+b1
ii libqtcore4 4:4.8.6+git64-g5dc8b2b+dfsg-2+b1
ii libstdc++6 4.9.1-15
ii python 2.7.5-5
ii python-qt4 4.11.3+dfsg-2
pyqt4-dev-tools recommends no packages.
pyqt4-dev-tools suggests no packages.
-- no debconf information
More information about the PyQt
mailing list