Workaround QDateTime::addMSec bug for Qt 5.0