Results 1 to 3 of 3

Thread: setting date and time

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

    Default setting date and time

    Working to develop a administrative tool(works on gnome and kde) in Qt.Anyone with idea how to change ip address of system which has ubuntu OS. using a Qt application.I want to show also the existing ip address of the system

  2. #2
    Join Date
    Mar 2008
    Location
    Marslev, Denmark
    Posts
    31
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android

    Default Re: setting date and time

    You can get the list of IP addresses from the QNetworkInterface class.


    Added after 4 minutes:


    Whoops, forgot the other part.

    There is no Qt way to modify network interfaces. You have to figure out the OS specific way to do it. In Ubuntu that means the NetworkManager.
    Last edited by bothorsen; 23rd January 2011 at 08:28.
    Bo Thorsen, Viking Software
    Qt applications on Linux and Windows

  3. The following user says thank you to bothorsen for this useful post:

    nighil (23rd January 2011)

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

    Default Re: setting date and time

    I tried and succesfully developed the application to display ip address of the system.How can i develop a Qt application to change the ip address

Similar Threads

  1. time and date issues
    By boog07005 in forum Newbie
    Replies: 5
    Last Post: 20th August 2012, 15:15
  2. other time...can't get date
    By mmm286 in forum Newbie
    Replies: 7
    Last Post: 4th March 2010, 15:53
  3. date time to qtextedit??
    By briang in forum Newbie
    Replies: 9
    Last Post: 16th October 2009, 05:29
  4. Date Time
    By starcontrol in forum Qt Programming
    Replies: 3
    Last Post: 4th April 2008, 11:02

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.