Results 1 to 2 of 2

Thread: Get the ip of my lan with qt

  1. #1
    Join Date
    Oct 2016
    Posts
    61
    Qt products
    Qt5
    Platforms
    Unix/X11

    Default Get the ip of my lan with qt

    Hi how could be to get my ipv4 address of my pc¿ in lan? like 192.168.1.4 i never did this so i dont know some way to show my ip that i'm using.
    Last edited by SirJonas; 24th October 2016 at 17:07.

  2. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Get the ip of my lan with qt

    QNetworkInterface.

    Cheers,
    _

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.