Results 1 to 3 of 3

Thread: Change time zone

  1. #1
    Join Date
    Jan 2011
    Posts
    16
    Thanks
    2
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Change time zone

    Howf the system in linux to create an application in Qt to change the time zone of system with linux platform

  2. #2
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Re: Change time zone

    Hi,

    please see http://lmgtfy.com/?q=linux+change+timezone and have e.g. a closer look at the first result. Then you only need to use QProcess and you are done.

  3. #3
    Join Date
    Jan 2008
    Location
    Germany
    Posts
    80
    Thanks
    6
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default Re: Change time zone

    First result from http://lmgtfy.com/?q=linux+change+timezone basically says If you guys want to change timezone of your ubuntu machine then you can do it by issuing: dpkg-reconfigure tzdata

    Is this what you meant.

    Do you have a sample of code that shows how to change the timezone on a linux platform from a QT application ?

Similar Threads

  1. detect system time change
    By ahmdsd_ostora in forum Qt Programming
    Replies: 5
    Last Post: 29th October 2019, 12:04
  2. How to change the date and time of a system
    By augusbas in forum Qt Programming
    Replies: 1
    Last Post: 23rd June 2009, 05:55
  3. how to read in image date from memory zone
    By elflord in forum Qt Programming
    Replies: 2
    Last Post: 2nd June 2009, 19:44
  4. Associate a minimize zone to QMainWindow
    By lixo1 in forum Qt Programming
    Replies: 2
    Last Post: 4th May 2009, 13:48
  5. QTimer stops after system time change
    By djurodrljaca in forum Qt Programming
    Replies: 3
    Last Post: 1st May 2009, 20:36

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.