[PyKDE] PyQt event handling problems

Phil Thompson phil at riverbankcomputing.co.uk
Tue Sep 13 19:45:11 BST 2005


On Tuesday 13 September 2005 7:38 pm, Sidney Cadot wrote:
> Hi guys,
>
> I recently did a PyQt build on my linux machine. I used the following
> versions, building all these from scratch:
>
> - Python 2.4.1
> - Qt 3.3.4 free
> - sip 4.3
> - PyQt gpl 3.15
>
> I am running into a problem. If I use the freshly built Python to run
> the PyQt 'canvas.py' example (from PyQt-x11-gpl-3.15/examples3/
> canvas) none of the menu items (except one: File/Exit) works.
>
> The example uses the QPopupMenu 'insertItem' method to add items; for
> the 'exit' item, SLOT("quit()") is specified, while for all other
> items the Python handler method is used directly.
>
> Does anyone know why this doesn't work any more? The C++ "canvas"
> demo still works perfectly.

Try it with SIP 4.3.1.

Phil




More information about the PyQt mailing list