Details
-
Bug
-
Resolution: Incomplete
-
Not Evaluated
-
None
-
6.6.2
-
None
-
Raspberry Pi 4b - Yocto/Boot2Qt
Description
https://doc.qt.io/QtDeviceUtilities/qtnetworksettings-module.html
Tested on: raspberry pi 4b + custom yocto build of Boot2Qt v6.6.2. Tried it on two different raspberrypis.
I appreciate Qt providing a package to manage WiFi and other connections, but I am finding the API hard to use:
- It would be nice if the list of `QNetworkSettingsService` which are returned from a QNetworkSettingsManager had a field for whether or not a network is private or public. I find the async design of requiring to listen for a separate "user agent" signal `showUserCredentialsInput` as a poor design because it's disjointed.
- There seems to be a bug when using this in conjunction with a raspberry pi where calling QNetworkSettingsManager->clearConnectionState or clearConnectionState(x_service) doesn't actually disconnect the wifi. Even if it does sometimes, on reboot, it shows the network as connected. Note: this has nothing to do with my application because I tested it with the default boot2qt controller app.
- When you are connected to a service, trying to connect to another service fails. Again, this is also the case with the default boot2qt controller app in addition to my own app.
Question: I am not an expert in low level networking, but is there some other library that Qt uses under the hood? Do you recommend any C++ libraries (system-level or third party) that I should use instead of QtNetworkSettings for my yocto image + app?