Results 1 to 2 of 2

Thread: How to change computer's Clock and Date

  1. #1
    Join Date
    Jan 2008
    Posts
    91
    Thanks
    8

    Default How to change computer's Clock and Date

    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.
    Last edited by anafor2004; 24th October 2009 at 09:12.

  2. #2
    Join Date
    Jan 2006
    Location
    Frankfurt
    Posts
    500
    Thanks
    1
    Thanked 52 Times in 52 Posts
    Platforms
    MacOS X Unix/X11

    Default Re: How to change computer's Clock and Date

    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.
    It's nice to be important but it's more important to be nice.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.