Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-127482

QtNetworkSettings is Unusable for Boot2Qt Raspberrypi

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Not Evaluated
    • None
    • 6.6.2
    • Network
    • None
    • Raspberry Pi 4b - Yocto/Boot2Qt
    • Linux/Yocto

    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?

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            manordheim Mårten Nordheim
            talksik Arjun Patel
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes