seed to millisecond instead of second. (has a larger range 0-999 vs 0-59)
use QTime.elapsed() instead of msecsTo(QTime::currentTime()) and frameTime.restart() instead of frameTime = QTime::currentTime()