Windows 10 Tablet QNetworkConfigurationManager not online if WIFI
-
Hi,
I think QTBUG-65586 might be of interest.
-
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.
-
Hi,
I think QTBUG-65586 might be of interest.
@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 ?
-
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.
@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 -
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.
@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
-
@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
@ekkescorner
I'm surprised, that should be part of the qt installationpath\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.
-
@ekkescorner
I'm surprised, that should be part of the qt installationpath\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.
@J.Hilk I don't have older installation folders for windows - just started Windows development after years of android/iOS/ (BB10)
-
@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
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 thennmake
/mingw32-make
... -
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 thennmake
/mingw32-make
...@kshegunov I don't have mingw - only installed MSVC2017 and Qt 5.12
-
@kshegunov I don't have mingw - only installed MSVC2017 and Qt 5.12
@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 ofmake
) after callingqmake
. 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. -
@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 ofmake
) after callingqmake
. 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.@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
-
@ekkescorner
I'm surprised, that should be part of the qt installationpath\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.
@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 ? -
@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
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 theSUBDIRS
variable at the end of theqtbase/src/plugins/bearers/bearers.pro
file. -
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 theSUBDIRS
variable at the end of theqtbase/src/plugins/bearers/bearers.pro
file.@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 -
@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 ?@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 ? -
@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 ?@J.Hilk thx - will try this