Qt 6.11 is out! See what's new in the release
blog
get the interface of network
-
Check active configuration in QNAM: https://doc.qt.io/qt-5/qnetworkaccessmanager.html#activeConfiguration
And there, you can check BearerType. https://doc.qt.io/qt-5/qnetworkconfiguration.html#BearerType-enum
-
Check active configuration in QNAM: https://doc.qt.io/qt-5/qnetworkaccessmanager.html#activeConfiguration
And there, you can check BearerType. https://doc.qt.io/qt-5/qnetworkconfiguration.html#BearerType-enum
-
You have just printed the int value of an enum ;-) That won't tell you anything.
QNetworkAccessManager manager; const auto config = manager.activeConfiguration(); qDebug() << config.bearerType() << config.bearerTypeName(); -
You have just printed the int value of an enum ;-) That won't tell you anything.
QNetworkAccessManager manager; const auto config = manager.activeConfiguration(); qDebug() << config.bearerType() << config.bearerTypeName();