[PyQt] PyQt5 emitting signal bug

Phil Thompson phil at riverbankcomputing.com
Tue Mar 25 14:20:31 GMT 2014


On 25-03-2014 8:10 am, MOHAMED BLACK wrote:
> hi,
>
> i have this strange issue when try to emit signal commitData
> in QStyledItemDelegate class
>
> its working with PyQt4-4.10.4-gpl-Py3.3-Qt5.2.0-x32-2.exe downloaded
> yesterday
>
> but not with PyQt5-5.2.1-gpl-Py3.3-Qt5.2.0-x32.exe
>
> and both use the same Qt5.2.0 so i think its not Qt issue.
>
> Error is:
> AttributeError: signal was not defined in the first super-class of
> class PlainTextColumnDelegate
>
> sample code attached
>
> tested on
> windows xp sp3
> python 3.3.5

Fixed with tonight's SIP snapshot - it's a code generation problem.

Thanks,
Phil


More information about the PyQt mailing list