I use QTimer to schedule events every 20ms. Unfortunately under Win XP scheduling doesn't work.
//Co 1/50s event
timer->start(20);
QObject::connect( timer,
SIGNAL( timeout
() ),
this,
SLOT( timerEvent
() ) );
timer = new QTimer(this);
//Co 1/50s event
timer->start(20);
QObject::connect( timer, SIGNAL( timeout() ), this,SLOT( timerEvent() ) );
To copy to clipboard, switch view to plain text mode
I think timer not always send signal - i mean if i put line mesurement += 0.02 in timerEvent method than after 10 sec mesurement is 8.6..
I've tried with qt_win_use_simple_timers=true; but i received compilation's error. If this solution might work please explain me step by step how to fix it...I use QT v 4.4.3
Bookmarks