BLE scan example's results are different from MSVC and MinGW
-
Hello, I tried to execute bluetooth example : "low energy scanner"
My environment is windows 10. using Qt 5.15.0
I used both MSVC2019 and MinGW build configurations for same project.
However, the results are different from MSVC version and MinGW.
Number of scanned list had very different result. MSVC result has over 10 items in list, but MinGW found nothing.Do I need additional setting for MinGW?
Because this is very first time to use MinGW..Or there is something difference between MSVC and MinGW?
Thanks in advanced..
-
@ANNI take a good look at the console output, in there Qt will tell you that for minGW on windows, BLE is a dummy module and will not access the Bluetooth hardware.
AFAIK that is due to UWP specific calls that are only possible from MSVC🤷♂️
-
-
@ANNI, you can try to compile the qtconnectivity from the wip/win branch... There are implemented the classic bluetooth for all Windows and the BLE support for the Win8/10 using MinGW or MSVC with the win32 API instead of UWP.
But in that case you need to start BLE scanning from the Windows in-box appliction at first, because the Windows does not provided the Win32 API to do the BLE scanning.