Qt Code:
  1. QNetworkConfigurationManager manager;
  2.  
  3. if (manager.capabilities() & QNetworkConfigurationManager::NetworkSessionRequired)
  4. {
  5. }
To copy to clipboard, switch view to plain text mode 

Now, when I looked up the documentation for capabilities(), all I got was this:
Returns the capabilities supported by the current platform.
from: http://doc.qt.nokia.com/stable/qnetw...l#capabilities

That is very vague, "which" capabilities exactly are we talking about here?