PDA

View Full Version : How to get and set local ip in windows xp using QT?



longtrue
5th May 2008, 08:55
Hi,everyone. Help! I want to get and set local host ip address using qt code in windows xp platform.I know i must to do something with regeist.I don't know how to write ip widget.Fortunately i had read the post about Ip widget,but that is not i want.I use setInputMask("000.000.000.000;"); Than i use QValidator.It doesn't work.Any body who can give me source code?Thank you!