[PyQt] SIP_READ_ONLY was not declared in this scope

Phil Thompson phil at riverbankcomputing.com
Sat Oct 12 11:59:35 BST 2013


On Wed, 9 Oct 2013 19:16:59 +0200, Filippo Cucchetto
<filippocucchetto at gmail.com> wrote:
> Hi,
> i'm trying to cross compile the PyQt bindings for my raspberry pi.
During
> the build process make fails with:
>
/home/filippo/Raspberry/src/PyQt-gpl-5.1.1-snapshot-41b8f6ca2ea4/sip/QtQuick/qsggeometry.sip:67:21:
> error: 'SIP_READ_ONLY' was not declared in this scope
> 
> i'm using the pyqt snapshot 41b8f6ca2ea4 and the latest sip version
> retrieved through mercurial. Any idea? i think that maybe i missed some
> kind of parameter to pass to the configure.py script.

Make sure you are picking up the latest sip.h and not the one installed on
the pi by default (which is too old).

Phil


More information about the PyQt mailing list