Qt is only a GUI library,it's design purpose is to draw graphical user interface.It does not have other permissions to execute system-level operations.
So,if you want to set IP address through Qt GUI, you should call other tools, ifconfig,iwconfig,wpa_cli are useful for you.
Some newbies asked in web,the expert's replay is just like the above meaning.Snapshots are as follows.
by zhangshaoyan at May 20,2015.
本文解释了Qt是一个专门用于绘制图形用户界面的GUI库,不具有执行系统级操作的权限。因此,若需设置IP地址,应使用其他工具如ifconfig、iwconfig或wpa_cli。
290

被折叠的 条评论
为什么被折叠?



