PDA

View Full Version : How to change computer's Clock and Date



anafor2004
24th October 2009, 05:30
Dear Friends
I want to change System Time with my Qt program. There is embedded linux on my board. But I dont want to use linux commands. How can I do that with Qt functions. I can read Date and time information. But I want to change it.

axeljaeger
24th October 2009, 15:18
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.