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 <[EMAIL PROTECTED]> wrote:

Thanks, I didn't realize the dependency on SIP was as tight.

Arve

On 2/25/07, Phil Thompson < [EMAIL PROTECTED]> 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     [email protected]
> http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
>


_______________________________________________
PyKDE mailing list    [email protected]
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

Reply via email to