PDA

View Full Version : QTimer sincronization problem



maika
19th April 2010, 10:50
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.

maika
19th April 2010, 11:05
I forgot to say that the version of Qt I'm using is 4.1.4

Lesiok
19th April 2010, 11:22
I think that this is a problem with OS not with Qt.

maika
19th April 2010, 12:36
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.

maika
19th April 2010, 17:53
finally I solve my problem installing other Qt version. (4.6.2)