[PyKDE] Python Qwt
Phil Thompson
phil at riverbankcomputing.co.uk
Fri May 19 17:02:27 BST 2006
On Friday 19 May 2006 4:08 pm, Gudjon I. Gudjonsson wrote:
> Hi
>
> I was trying to compile PyQwt with the new snapshots and got the following
> error that I don't understand
> /usr/bin/sip -t WS_X11 -t Qt_3_3_6 -x -x Qt_STYLE_WINDOWSXP -x
> Qt_STYLE_INTERLACE -x VendorID -c
> build/temp.linux-x86_64-2.3/sip/qwt -I /usr/share/sip/qt sip/qwtmod.sip
> sip: QwtPlot::titleLabel() has overloaded functions with the same Python
> signature
> error: command '/usr/bin/sip' failed with exit status 1
>
> Does anyone know where PyQwt 5.0 can be found. I would like to start using
> PyQt 4.1 but I need PyQwt that compiles with it.
This is due to a recent SIP change in detecting more unreachable methods.
However, thinking about it, this may have been too aggressive. In the
following...
void foo(char);
void foo(char *);
...foo("a") potentially matches both and will call the first. foo("bb") will
match the second. If the above were in the reverse order then foo(char) would
never get called.
I think I'll back out this particular change.
Phil
More information about the PyQt
mailing list