PDA

View Full Version : PyQt4 signals not working on windows xp



eltazar
28th July 2010, 09:11
Hi all,

I have a problem with my UPnP scanner. The GUI works well on Ubuntu 10.04, but clicking on buttons have no effect on Windows XP.
Could someone help me?

The attachment is the main python file, working on both os with python v2.6 and PyQt v.4.7

5006

ChrisW67
29th July 2010, 00:24
The description "clicking on buttons have no effect on Windows XP" could be almost anything including stuff outside Qt (Coherent etc.) Can you elaborate or reproduce the problem in a Qt-only example?

Caveat: I am not a Python person
Is creating a thread simply to create a timer a PyQt-ism? Is QTimer not available?

eltazar
29th July 2010, 16:40
Hi, thank you for your reply.
I solved the problem adding the QObject.__init__() function in the __init__() function of my GUI class.
Thus, maybe it was a python issue.