Or, you can use web kit or JS to access network. Or try to instantiate a QML component by URL, and display a message if that fails. But most probably, C++ will give you the most control over what is happening and when.