[PyQt] SIP does not allow a %Property called 'name'
Phil Thompson
phil at riverbankcomputing.com
Mon Apr 2 16:46:30 BST 2012
On Wed, 21 Mar 2012 17:14:43 +0200, Zvi Tarem <zvi.tarem at gmail.com> wrote:
> The following gives a syntax error in SIP:
>
> %Property(name=name, get=getName, set=setName)
>
> The following does work:
>
> %Property(name=Name, get=getName, set=setName)
>
> But then you get a Python property called 'Name', not 'name'...
Should be fixed in tonight's snapshot if you use quotes, ie. name="name".
Phil
More information about the PyQt
mailing list