Merge "Calculate next update time in nanosecond" into qt-dev