Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Unsolved bearerType wrong

    General and Desktop
    3
    5
    878
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      Ricar last edited by

      Hi all,

      I am working in raspberry pi 3 with Qt creator (3.2.1 on QT 5.3.2 built may 2016), my app requires wifi scan. Ok, using QNetworkConfigurationManager class, with allConfigurations, Update and UpdateCompleted signal, I get bearerType=1 for my interface wlan0.
      I think that i would get 2, (QNetworkConfiguration::BeaereWLAN)

      So my wireless scan not working fine, only I get, name()=wlan0,

      Please, I need help.

      Thanks
      bye

      1 Reply Last reply Reply Quote 0
      • ?
        A Former User last edited by

        Hi! This is QTBUG-42348. It was fixed in Qt 5.4.0, so you need to update.

        1 Reply Last reply Reply Quote 5
        • R
          Ricar last edited by

          Hi Wieland, thanks a lot, but with my pi, Can i update?, the pi tell me that is updated ....
          Could you help me ..?
          thank
          best

          jsulm 1 Reply Last reply Reply Quote 0
          • jsulm
            jsulm Lifetime Qt Champion @Ricar last edited by

            @Ricar Do you use Raspbian? It probably does not provide a newer Qt version. You would need to build Qt by yourself. Not really a simple task, see: https://wiki.qt.io/RaspberryPi_Beginners_Guide

            https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply Reply Quote 2
            • R
              Ricar last edited by

              yes Raspbian. Oh, bad lucky, ok I will try it

              1 Reply Last reply Reply Quote 0
              • First post
                Last post