Results 1 to 3 of 3

Thread: PyQt4 signals not working on windows xp

  1. #1
    Join Date
    Jul 2010
    Posts
    2
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default PyQt4 signals not working on windows xp

    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

    UPnPSearch.py

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: PyQt4 signals not working on windows xp

    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?

  3. #3
    Join Date
    Jul 2010
    Posts
    2
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: PyQt4 signals not working on windows xp

    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.

Similar Threads

  1. Creating popup windows pyqt4
    By jaybstory in forum Newbie
    Replies: 1
    Last Post: 9th April 2011, 21:15
  2. Moving QObject to QThread causes signals to stop working
    By Ban-chan in forum Qt Programming
    Replies: 8
    Last Post: 13th July 2010, 21:39
  3. Replies: 1
    Last Post: 15th February 2010, 23:20
  4. Trying to get basic signals example working
    By mrstephengross in forum Qt Programming
    Replies: 5
    Last Post: 27th February 2007, 19:58
  5. Signals/Slots stopped working
    By Jimmy2775 in forum Qt Programming
    Replies: 8
    Last Post: 31st March 2006, 21:11

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.