Unsolved How can we identify if the application built in qt is connected to the network or not?
-
I have tried to use the networkAccessibleChanged signal of the QNetworkAccessManager class but it does not work properly. Can someone please help me to find the solution to this issue.
-
The only cross-platform way is to ping a known online server occasionally.
If you are targeting Android only, you can use Java to read online status from the operating system.