Hi! If you can help me please, HELP! I have errors like this: ... sipQtXmlQicsWidgetCellDisplay.cpp: In member function ‘void sipQicsWidgetCellDisplay::displayCell(QicsGrid*, int, int, const QicsDataItem*, const QRect&, QPainter*)’: sipQtXmlQicsWidgetCellDisplay.cpp:82: error: no matching function for call to ‘sipQicsWidgetCellDisplay::displayCell(QicsGrid*&, int&, int&, const QicsDataItem*&, const QRect&, QPainter*&)’ /home/rx5/src/stable/include/QicsWidgetCellDisplay.h:45: note: candidates are: virtual void QicsWidgetCellDisplay::displayCell(QicsGrid*, int, int, const QicsDataItem*, QRect&, QPainter*) sipQtXmlQicsWidgetCellDisplay.cpp: In function ‘PyObject* meth_QicsWidgetCellDisplay_displayCell(PyObject*, PyObject*)’: sipQtXmlQicsWidgetCellDisplay.cpp:492: error: no matching function for call to ‘QicsWidgetCellDisplay::displayCell(QicsGrid*&, int&, int&, const QicsDataItem*&, const QRect&, QPainter*&)’ /home/rx5/src/stable/include/QicsWidgetCellDisplay.h:45: note: candidates are: virtual void QicsWidgetCellDisplay::displayCell(QicsGrid*, int, int, const QicsDataItem*, QRect&, QPainter*) sipQtXmlQicsWidgetCellDisplay.cpp:492: error: no matching function for call to ‘QicsWidgetCellDisplay::displayCell(QicsGrid*&, int&, int&, const QicsDataItem*&, const QRect&, QPainter*&)’ /home/rx5/src/stable/include/QicsWidgetCellDisplay.h:45: note: candidates are: virtual void QicsWidgetCellDisplay::displayCell(QicsGrid*, int, int, const QicsDataItem*, QRect&, QPainter*) ...
All sip files i wrote correct. SIP generate code GOOD. But if i try to compile i look this messages. My sip file: ... virtual void displayCell(QicsGrid *, int, int, const QicsDataItem *, const QRect &, QPainter *); ... My header file: ... virtual void displayCell(QicsGrid *, int row, int col, const QicsDataItem *itm, QRect &rect, QPainter *painter); ... And SIP generated file: ... void sipQicsWidgetCellDisplay::displayCell(QicsGrid *a0,int a1,int a2,const QicsDataItem *a3,const QRect& a4,QPainter *a5) { extern void sipVH_QtXml_6(sip_gilstate_t,PyObject *,QicsGrid *,int,int,const QicsDataItem *,const QRect&,QPainter * sip_gilstate_t sipGILState; PyObject *meth; meth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipNm_QtXml_displayCell); if (!meth) { QicsWidgetCellDisplay::displayCell(a0,a1,a2,a3,a4,a5); return; } sipVH_QtXml_6(sipGILState,meth,a0,a1,a2,a3,a4,a5); } ... Im use gcc 4.0.0 (today i will try with gcc 3.4.x) Thanks! ============================ Uses and Develop Open Source _______________________________________________ PyKDE mailing list PyKDE@mats.imk.fraunhofer.de http://mats.imk.fraunhofer.de/mailman/listinfo/pykde