There is no such method in Qt. Also keep in mind that on unix you usually need root privileges to alter the time. Do it using native code.