Manage the network interfaces with Qt (Linux contest). I have no time to spend on.
Hi. I need the source code example in Qt to:
- obtain the network interfaces list.
- know if an interface il cabled or wireless.
- if is wireless have the ssid list
- know if a ssid is open, wep, wpa
- apply the changes.
Have you got an example code?
Explore the documentation of classes "QNetworkInterface":http://qt-project.org/doc/qt-5/QNetworkInterface.html and "QNetworkConfiguration":http://qt-project.org/doc/qt-5/qnetworkconfiguration.html. You should be able to obtain the list of all avaiable network interfaces and access points as well as their type.
Can you suggest to me the way to have the SSID list?