[PyQt] Error while installing PyQtMobility 1.0 on Ubuntu 10.10

David Boddie david at boddie.org.uk
Mon Apr 18 23:22:30 BST 2011


On Mon, 18 Apr 2011 11:24:13 +0100, Phil Thompson wrote:
> On Mon, 18 Apr 2011 18:13:17 +0800, chinakr <chinakr at gmail.com> wrote:

[...]

> > Generating the C++ source for the QtContacts module...
> > sip:
>
> /home/chinakr/src/PyQtMobility-gpl-1.0/sip/QtContacts/qcontactaddress.sip:37:
> > Cannot mix %AccessCode and %GetCode or %SetCode
> > Error: Unable to create the C++ code.
> >
> > I tried to google with 'Error: Unable to create the C++ code', but
> > found nothing.
> > What should I do now? Any suggestion?
>
> I can't reproduce this. Can you try with the current SIP snapshot?

I encountered this on two, possibly three different systems, so I'll try to
reproduce the problem and post more details.

Since I was building everything from source, my workaround was to build PyQt
then hack SIP to get PyQtMobility to build.

David


More information about the PyQt mailing list