[PyKDE] Segfault in QGraphicsScene.drawItems
Arve Knudsen
arve.knudsen at gmail.com
Sun Feb 25 13:22:06 GMT 2007
Now it's compiled, but I see that drawItems still receives the numItems
argument. Isn't this redundant considering that this is only the length of
the items list? Or is there a point in keeping it around to resemble the C++
interface?
Arve
On 2/25/07, Arve Knudsen <arve.knudsen at gmail.com> wrote:
>
> Thanks, I didn't realize the dependency on SIP was as tight.
>
> Arve
>
> On 2/25/07, Phil Thompson < phil at riverbankcomputing.co.uk> wrote:
> >
> > On Sunday 25 February 2007 11:56 am, Arve Knudsen wrote:
> > > The snapshot does not compile for me (on a Gentoo Linux box, g++ 4.1.2
> > ):
> > >
> > > g++ -c -pipe -fPIC -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG
> > -DQT_GUI_LIB
> > > -DQT_CORE_LIB -I. -I/usr/include/python2.4 -I/usr/mkspecs/linux-g++
> > > -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/include/qt4
> > > -I/usr/X11R6/include -o sipQtGuiQGraphicsView.o
> > sipQtGuiQGraphicsView.cpp
> > > sip/QtGui/qgraphicsview.sip: In function 'PyObject*
> > > meth_QGraphicsView_drawItems(PyObject*, PyObject*)':
> > > sip/QtGui/qgraphicsview.sip:174: error:
> > 'sipClass_QStyleOptionGraphicsItem'
> > > was not declared in this scope
> >
> > If you are using a PyQt snapshot always use the latest SIP snapshot.
> >
> > Phil
> >
> > _______________________________________________
> > PyKDE mailing list PyKDE at mats.imk.fraunhofer.de
> > http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20070225/b958e1f2/attachment.html
More information about the PyQt
mailing list