[Qt-interest] IP address change

Jason H scorp1us at yahoo.com
Fri Apr 8 19:11:55 CEST 2011


I don't think that falls under what Qt should be doing - system administration.
The OS gets to control that stuff. DHCP, static, etc, and don't forget 
permissions. Your process might not have credentials to do that (group policy, 
etc) as it may open a security hole.

But I don't think Qt has anything like that. Bearer Management from QtMobility 
would be the most complicated you can get.





________________________________
From: "frares at gmail.com" <frares at gmail.com>
To: QT Interest List <qt-interest at trolltech.com>
Sent: Fri, April 8, 2011 12:54:51 PM
Subject: [Qt-interest] IP address change

Hi, 

I am trying to change an ethernet interface IP address using only Qt, but I 
could not find how.

I have managed to find all interfaces and to select the main one among the list 
from QNetworkInterface::allInterfaces() , and read its IP and netmask , but I 
could not find how to change those.

Is it possible or do I have to use the OS API ?

Thanks a lot
Francisco


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110408/200fd16d/attachment.html 


More information about the Qt-interest-old mailing list