Results 1 to 4 of 4

Thread: Qmutex/QThread PyQt problem

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2006
    Posts
    2
    Thanks
    1
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Qmutex/QThread PyQt problem

    Hello,

    I have a problem with getting my thread to work correctly in pyqt. I also dont really understand mutex and where to use it correctly. I have attached my code.

    The short:
    I select a file that will get tailed.
    Once I click start a QTimer is activated to check for new files every 5 seconds to handle rollovers. (If there is another way to do this pray tell!)

    Anyways It works the first time that the program runs through but after that it complains about a RuntimeError: underlying C/C++ object has been deleted.

    Any help would be extremely appreciated!! Even if someone could maybe just paste me some py
    qt code that uses threads and mutexs' so I can get a general idea. There seems to be a very big void on google regarding the subject :-(

    Regards!
    Attached Files Attached Files

Similar Threads

  1. Weird problem: multithread QT app kills my linux
    By Ishark in forum Qt Programming
    Replies: 2
    Last Post: 8th August 2008, 09:12
  2. Problem with PyQt 4.4.2 and Qt 4.4.0
    By tlam in forum Installation and Deployment
    Replies: 1
    Last Post: 6th August 2008, 16:34
  3. Steps in solving a programming problem?
    By triperzonak in forum General Programming
    Replies: 8
    Last Post: 5th August 2008, 08:47
  4. PyQt QTimer problem { FIXED }
    By WinchellChung in forum Newbie
    Replies: 0
    Last Post: 1st March 2008, 16:50
  5. Replies: 16
    Last Post: 7th March 2006, 15:57

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
  •  
Qt is a trademark of The Qt Company.