You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have two options to go down through, at least with platforms aside from android.
1. Enable the Qt Network API
This gives us access to the QNetworkConfigurationManager class. Here we have access to the following signals and functions that give us the information we need:
It should be noted that with these functions, Qt checks that the computer is connected to any signal, and not if that signal really has an internet connection.
2. Use system specific terminal commands in a Process
For example, on macOS, this could be something like the following:
There should be available commands for macOS, linux, and Windows; but this approach won't work for Android, where we'll just plug into some android api for this information.
The text was updated successfully, but these errors were encountered:
We need to have the ability to detect network state to allow for states such as the following (specified in the design file):
We have two options to go down through, at least with platforms aside from android.
1. Enable the Qt Network API
This gives us access to the QNetworkConfigurationManager class. Here we have access to the following signals and functions that give us the information we need:
It should be noted that with these functions, Qt checks that the computer is connected to any signal, and not if that signal really has an internet connection.
2. Use system specific terminal commands in a Process
For example, on macOS, this could be something like the following:
There should be available commands for macOS, linux, and Windows; but this approach won't work for Android, where we'll just plug into some android api for this information.
The text was updated successfully, but these errors were encountered: