[PyKDE] PyQt event handling problems

Sidney Cadot cadot at science-and-technology.nl
Tue Sep 13 19:38:01 BST 2005


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.

Best regards,

  Sidney





More information about the PyQt mailing list