[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: [PyQt] possible regression in PyQt/sip snapshots
From: Phil Thompson <phil () riverbankcomputing ! com>
Date: 2009-03-24 18:02:17
Message-ID: ba2490977e36d9f15687a27e7de46e38 () localhost
[Download RAW message or body]
On Tue, 24 Mar 2009 10:13:16 -0400, Darren Dale <dsdale24@gmail.com> wrote:
> I have been keeping up to date with the snapshots, and after installing
> them
> I try to launch Eric4 and I get a segfault. I think this simple example,
> adapted from eric4's Debugger/BreakPointModel.py, might illustrate the
> problem:
>
> from PyQt4 import QtCore
> alignment = QtCore.QVariant(QtCore.Qt.Alignment(QtCore.Qt.AlignLeft))
>
> When I run that script, I get:
>
> Traceback (most recent call last):
> File "test_alignment.py", line 3, in <module>
> alignment = QtCore.QVariant(QtCore.Qt.Alignment(QtCore.Qt.AlignLeft))
> TypeError: unable to convert a Python 'Alignment' object to a C++
> 'Qt::Alignment' instance
>
> Can anyone please confirm?
Should be fixed in tonight's PyQt snapshot. However I don't see how it
might cause a crash.
Thanks,
Phil
_______________________________________________
PyQt mailing list PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic