Static IP in Wifi Connection Qt
How to set Static IP for the Wifi Connection using QNetworkSessionManager?
There's no such class as QNetworkSessionManager. And there's no purely Qt way to set IP. You need to rely on platform specific code or use tools such as for eg. ipconfig on Linux. You can call this using QProcess.