O'Reilly logo

Qt 5 Blueprints by Symeon Huang

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Managing a system network session

In addition to networking applications, Qt also provides you with cross-platform APIs to control network interfaces and access points. Although it's not very common to control the network state, there are some certain situations where it's required to do this.

First, I'd like to introduce QNetworkConfigurationManager to you. This class manages the network configurations provided by the system. It enables you access to them, as well as to detect the system's capabilities during runtime. The network configuration is presented by the QNetworkConfiguration class, which abstracts a set of configuration options concerning how a network interface has to be configured in order to connect to the target network. To control ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required