Results 1 to 2 of 2

Thread: Qtimer object blocking an application.

  1. #1
    Join Date
    Feb 2011
    Posts
    5
    Qt products
    Qt3 Qt4 Qt/Embedded Qt Jambi PyQt3 PyQt4
    Platforms
    Windows

    Default Qtimer object blocking an application.

    Hello,

    Im using a Qtimer object in order to create a repetitive event in a application. However this object is always running and blocks the application.
    Could you help me?

    Many thanks

    Ricardo Sousa

    Note: the Qtimer object is not in a different thread, but I suppose that it should work in this way.

  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: Qtimer object blocking an application.

    Could you help me?
    Sure. The timer itself cannot block the application, only the processing it triggers. So, don't run the timer on a period shorter than the code it runs in the attached slot(s) connected to the timeout() signal.

Similar Threads

  1. Replies: 2
    Last Post: 16th November 2012, 20:41
  2. Replies: 2
    Last Post: 15th February 2012, 14:20
  3. qtimer in console application
    By JeanC in forum Newbie
    Replies: 10
    Last Post: 31st March 2011, 15:30
  4. Phonon Media Object blocking on play()
    By traetox in forum Qt Programming
    Replies: 0
    Last Post: 21st May 2008, 05:43
  5. QTimer - too many in application??
    By db in forum Newbie
    Replies: 4
    Last Post: 31st March 2008, 15:12

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.