Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Windows 10 Tablet QNetworkConfigurationManager not online if WIFI
Forum Updated to NodeBB v4.3 + New Features

Windows 10 Tablet QNetworkConfigurationManager not online if WIFI

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
21 Posts 6 Posters 4.0k Views 4 Watching
  • 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.
  • lorn.potterL Offline
    lorn.potterL Offline
    lorn.potter
    wrote on last edited by
    #7

    The wifi bearer plugins were disabled from the regular build due to network performance issues due to the scanning being performed. For windows, you can compile the nativewifi bearer plugin, install it into your Qt being used, and it will work.

    Freelance Software Engineer, Platform Maintainer QtWebAssembly, Maintainer QtSensors
    Author, Hands-On Mobile and Embedded Development with Qt 5 http://bit.ly/HandsOnMobileEmbedded

    ekkescornerE 2 Replies Last reply
    2
    • SGaistS SGaist

      Hi,

      I think QTBUG-65586 might be of interest.

      ekkescornerE Offline
      ekkescornerE Offline
      ekkescorner
      Qt Champions 2016
      wrote on last edited by ekkescorner
      #8

      @SGaist thx mentioning this bug. on iOS I'm using native classes (ReachabilityListener.mm) - is there a way to use native windows classes same way ?

      ekke ... Qt Champion 2016 | 2024 ... mobile business apps
      5.15 --> 6.9 https://t1p.de/ekkeChecklist
      QMake --> CMake https://t1p.de/ekkeCMakeMobileApps

      1 Reply Last reply
      0
      • lorn.potterL lorn.potter

        The wifi bearer plugins were disabled from the regular build due to network performance issues due to the scanning being performed. For windows, you can compile the nativewifi bearer plugin, install it into your Qt being used, and it will work.

        ekkescornerE Offline
        ekkescornerE Offline
        ekkescorner
        Qt Champions 2016
        wrote on last edited by
        #9

        @lorn.potter I have no idea how I should compile the wifi bearer plugins.
        couldn't imagine that such basic stuff - detect if device connected via wifi - doesn't work

        ekke ... Qt Champion 2016 | 2024 ... mobile business apps
        5.15 --> 6.9 https://t1p.de/ekkeChecklist
        QMake --> CMake https://t1p.de/ekkeCMakeMobileApps

        1 Reply Last reply
        0
        • lorn.potterL lorn.potter

          The wifi bearer plugins were disabled from the regular build due to network performance issues due to the scanning being performed. For windows, you can compile the nativewifi bearer plugin, install it into your Qt being used, and it will work.

          ekkescornerE Offline
          ekkescornerE Offline
          ekkescorner
          Qt Champions 2016
          wrote on last edited by
          #10

          @lorn.potter found qnativewifibearer.dll here: https://www.dllme.com/dll/files/qnativewifibearer_dll.html
          my customers copied the dll into release/bearer folder and now it is working.

          now it would be a good question HowTo compile the dll by myself instead of downloading from web

          ekke ... Qt Champion 2016 | 2024 ... mobile business apps
          5.15 --> 6.9 https://t1p.de/ekkeChecklist
          QMake --> CMake https://t1p.de/ekkeCMakeMobileApps

          J.HilkJ kshegunovK 2 Replies Last reply
          0
          • ekkescornerE ekkescorner

            @lorn.potter found qnativewifibearer.dll here: https://www.dllme.com/dll/files/qnativewifibearer_dll.html
            my customers copied the dll into release/bearer folder and now it is working.

            now it would be a good question HowTo compile the dll by myself instead of downloading from web

            J.HilkJ Offline
            J.HilkJ Offline
            J.Hilk
            Moderators
            wrote on last edited by
            #11

            @ekkescorner
            I'm surprised, that should be part of the qt installation

            path\to\Qt\5.XX.X\msvc20XX\plugins\bearer

            but I noticed it's absence in my installation as well! I still have it in my original deployment folder from one of the older versions, apparently.


            Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


            Q: What's that?
            A: It's blue light.
            Q: What does it do?
            A: It turns blue.

            ekkescornerE 2 Replies Last reply
            0
            • J.HilkJ J.Hilk

              @ekkescorner
              I'm surprised, that should be part of the qt installation

              path\to\Qt\5.XX.X\msvc20XX\plugins\bearer

              but I noticed it's absence in my installation as well! I still have it in my original deployment folder from one of the older versions, apparently.

              ekkescornerE Offline
              ekkescornerE Offline
              ekkescorner
              Qt Champions 2016
              wrote on last edited by
              #12

              @J.Hilk I don't have older installation folders for windows - just started Windows development after years of android/iOS/ (BB10)

              ekke ... Qt Champion 2016 | 2024 ... mobile business apps
              5.15 --> 6.9 https://t1p.de/ekkeChecklist
              QMake --> CMake https://t1p.de/ekkeCMakeMobileApps

              1 Reply Last reply
              0
              • ekkescornerE ekkescorner

                @lorn.potter found qnativewifibearer.dll here: https://www.dllme.com/dll/files/qnativewifibearer_dll.html
                my customers copied the dll into release/bearer folder and now it is working.

                now it would be a good question HowTo compile the dll by myself instead of downloading from web

                kshegunovK Offline
                kshegunovK Offline
                kshegunov
                Moderators
                wrote on last edited by
                #13

                If you want only the plugin it should be enough to run qmake from the Qt distribution you're using in the plugin folder and then nmake/mingw32-make ...

                Read and abide by the Qt Code of Conduct

                ekkescornerE 1 Reply Last reply
                0
                • kshegunovK kshegunov

                  If you want only the plugin it should be enough to run qmake from the Qt distribution you're using in the plugin folder and then nmake/mingw32-make ...

                  ekkescornerE Offline
                  ekkescornerE Offline
                  ekkescorner
                  Qt Champions 2016
                  wrote on last edited by
                  #14

                  @kshegunov I don't have mingw - only installed MSVC2017 and Qt 5.12

                  ekke ... Qt Champion 2016 | 2024 ... mobile business apps
                  5.15 --> 6.9 https://t1p.de/ekkeChecklist
                  QMake --> CMake https://t1p.de/ekkeCMakeMobileApps

                  kshegunovK 1 Reply Last reply
                  0
                  • ekkescornerE ekkescorner

                    @kshegunov I don't have mingw - only installed MSVC2017 and Qt 5.12

                    kshegunovK Offline
                    kshegunovK Offline
                    kshegunov
                    Moderators
                    wrote on last edited by
                    #15

                    @ekkescorner said in Windows 10 Tablet QNetworkConfigurationManager not online if WIFI:

                    @kshegunov I don't have mingw - only installed MSVC2017 and Qt 5.12

                    That's fine, I just didn't know what compiler you chose. So you invoke nmake (msvc's version of make) after calling qmake. Unless there's some oddity it should compile. You are probably also going to need the Windows SDK for the import library files and headers and such.

                    Read and abide by the Qt Code of Conduct

                    ekkescornerE 1 Reply Last reply
                    1
                    • kshegunovK kshegunov

                      @ekkescorner said in Windows 10 Tablet QNetworkConfigurationManager not online if WIFI:

                      @kshegunov I don't have mingw - only installed MSVC2017 and Qt 5.12

                      That's fine, I just didn't know what compiler you chose. So you invoke nmake (msvc's version of make) after calling qmake. Unless there's some oddity it should compile. You are probably also going to need the Windows SDK for the import library files and headers and such.

                      ekkescornerE Offline
                      ekkescornerE Offline
                      ekkescorner
                      Qt Champions 2016
                      wrote on last edited by ekkescorner
                      #16

                      @kshegunov as a mobile-app-developer and IDE-user and no-cmdline-expert I have no idea what parameters I have to set for qmake ;-)
                      this is the content of my plugins/bearer folder where the native wifi plugin is missed
                      0_1543238079964_Bildschirmfoto 2018-11-26 um 14.13.38.png

                      ekke ... Qt Champion 2016 | 2024 ... mobile business apps
                      5.15 --> 6.9 https://t1p.de/ekkeChecklist
                      QMake --> CMake https://t1p.de/ekkeCMakeMobileApps

                      kshegunovK 1 Reply Last reply
                      0
                      • J.HilkJ J.Hilk

                        @ekkescorner
                        I'm surprised, that should be part of the qt installation

                        path\to\Qt\5.XX.X\msvc20XX\plugins\bearer

                        but I noticed it's absence in my installation as well! I still have it in my original deployment folder from one of the older versions, apparently.

                        ekkescornerE Offline
                        ekkescornerE Offline
                        ekkescorner
                        Qt Champions 2016
                        wrote on last edited by
                        #17

                        @J.Hilk perhaps the easiest way for me is to download an older version of Qt and copy the dll
                        what was your newest version of Qt where the native wifi dll was contained ?

                        ekke ... Qt Champion 2016 | 2024 ... mobile business apps
                        5.15 --> 6.9 https://t1p.de/ekkeChecklist
                        QMake --> CMake https://t1p.de/ekkeCMakeMobileApps

                        J.HilkJ 1 Reply Last reply
                        0
                        • ekkescornerE ekkescorner

                          @kshegunov as a mobile-app-developer and IDE-user and no-cmdline-expert I have no idea what parameters I have to set for qmake ;-)
                          this is the content of my plugins/bearer folder where the native wifi plugin is missed
                          0_1543238079964_Bildschirmfoto 2018-11-26 um 14.13.38.png

                          kshegunovK Offline
                          kshegunovK Offline
                          kshegunov
                          Moderators
                          wrote on last edited by kshegunov
                          #18

                          To be absolutely frank, I rarely compile on windows, and I haven't really checked the mentioned plugin in detail, so I'm of little help here. But I took a quick peek and the nativewifibearer uses the private classes, so you almost certainly would need to build Qt from scratch to be sure everything is as it should be binary-wise. If you decide to do that, before actually building you should add whatever plugin you want to the SUBDIRS variable at the end of the qtbase/src/plugins/bearers/bearers.pro file.

                          Read and abide by the Qt Code of Conduct

                          ekkescornerE 1 Reply Last reply
                          0
                          • kshegunovK kshegunov

                            To be absolutely frank, I rarely compile on windows, and I haven't really checked the mentioned plugin in detail, so I'm of little help here. But I took a quick peek and the nativewifibearer uses the private classes, so you almost certainly would need to build Qt from scratch to be sure everything is as it should be binary-wise. If you decide to do that, before actually building you should add whatever plugin you want to the SUBDIRS variable at the end of the qtbase/src/plugins/bearers/bearers.pro file.

                            ekkescornerE Offline
                            ekkescornerE Offline
                            ekkescorner
                            Qt Champions 2016
                            wrote on last edited by
                            #19

                            @kshegunov thx. think I don't want to do this ;-)
                            will see to copy the dll from an older Qt version and open bug report

                            ekke ... Qt Champion 2016 | 2024 ... mobile business apps
                            5.15 --> 6.9 https://t1p.de/ekkeChecklist
                            QMake --> CMake https://t1p.de/ekkeCMakeMobileApps

                            1 Reply Last reply
                            0
                            • ekkescornerE ekkescorner

                              @J.Hilk perhaps the easiest way for me is to download an older version of Qt and copy the dll
                              what was your newest version of Qt where the native wifi dll was contained ?

                              J.HilkJ Offline
                              J.HilkJ Offline
                              J.Hilk
                              Moderators
                              wrote on last edited by
                              #20

                              @ekkescorner said in Windows 10 Tablet QNetworkConfigurationManager not online if WIFI:

                              @J.Hilk perhaps the easiest way for me is to download an older version of Qt and copy the dll
                              what was your newest version of Qt where the native wifi dll was contained ?

                              I have no idea, I usually remove older versions from my hd.
                              The creation date is june 2017, so 5.9 LTS ?


                              Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


                              Q: What's that?
                              A: It's blue light.
                              Q: What does it do?
                              A: It turns blue.

                              ekkescornerE 1 Reply Last reply
                              0
                              • J.HilkJ J.Hilk

                                @ekkescorner said in Windows 10 Tablet QNetworkConfigurationManager not online if WIFI:

                                @J.Hilk perhaps the easiest way for me is to download an older version of Qt and copy the dll
                                what was your newest version of Qt where the native wifi dll was contained ?

                                I have no idea, I usually remove older versions from my hd.
                                The creation date is june 2017, so 5.9 LTS ?

                                ekkescornerE Offline
                                ekkescornerE Offline
                                ekkescorner
                                Qt Champions 2016
                                wrote on last edited by
                                #21

                                @J.Hilk thx - will try this

                                ekke ... Qt Champion 2016 | 2024 ... mobile business apps
                                5.15 --> 6.9 https://t1p.de/ekkeChecklist
                                QMake --> CMake https://t1p.de/ekkeCMakeMobileApps

                                1 Reply Last reply
                                0

                                • Login

                                • Login or register to search.
                                • First post
                                  Last post
                                0
                                • Categories
                                • Recent
                                • Tags
                                • Popular
                                • Users
                                • Groups
                                • Search
                                • Get Qt Extensions
                                • Unsolved