Results 1 to 5 of 5

Thread: QTimer sincronization problem

  1. #1
    Join Date
    Apr 2010
    Posts
    4
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default QTimer sincronization problem

    Hello, I have a problem with QTimer and the NTP sincronization.
    The problem is that if my clock is change to a previos time by NTP, all the QTimer wait until the previous hour is reacher.

    For example, I have a QTime that wait 5 seconds. It´s started at 19:20:00
    now, NTP change my time to 19:19:00
    The QTimer wait 65 seconds, no 5 seconds due to the time change.

    Somebody know how can I sove this problem?

    I Hope I have given a good explanation of my problem.

    Thanks in advance.

  2. #2
    Join Date
    Apr 2010
    Posts
    4
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QTimer sincronization problem

    I forgot to say that the version of Qt I'm using is 4.1.4

  3. #3
    Join Date
    Mar 2008
    Location
    Kraków, Poland
    Posts
    1,536
    Thanked 284 Times in 279 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QTimer sincronization problem

    I think that this is a problem with OS not with Qt.

  4. #4
    Join Date
    Apr 2010
    Posts
    4
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QTimer sincronization problem

    It Could be related with the Qt version that I'm using?
    I read in other thread that this is solve in version 4.3 but, y don´t want to change my Qt version, if I'am not sure that my problem will be solved.

    Thank in advance.

  5. #5
    Join Date
    Apr 2010
    Posts
    4
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QTimer sincronization problem

    finally I solve my problem installing other Qt version. (4.6.2)

Similar Threads

  1. problem in qtimer
    By mohanakrishnan in forum Qt Programming
    Replies: 4
    Last Post: 26th November 2009, 11:55
  2. Problem with QTimer under Win XP
    By wzielj in forum Qt Programming
    Replies: 9
    Last Post: 26th January 2009, 14:04
  3. problem with QTimer
    By salmanmanekia in forum Qt Programming
    Replies: 1
    Last Post: 13th August 2008, 13:22
  4. Problem about QTimer
    By pawer in forum Qt Programming
    Replies: 5
    Last Post: 22nd January 2008, 13:02
  5. QTimer problem
    By vv in forum Qt Programming
    Replies: 9
    Last Post: 3rd July 2007, 08:13

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.