my Qt application is blocking when there is no network (internet) access.
When there is network everything works as expected, but as soon as it tries to access something without network it blocks and the only way to stop it is shutting down the phone.
The same code works perfectly on desktop.
Im using QNetworkAccessManager to do the network accesses.
Alternatively, is there any reliable way to check if there is network connectivity? I saw the Bearer API, but had no luck to make it check if there is any network available now.