Error QT Bluetooth windows qt 5.11 ?
-
when i dev on QBluethooth library Windows. i see
- if i use a windows machine have no BTLE driver built-in. i got messages:
onecoreuap\drivers\wdm\bluetooth\user\winrt\advertisement\bluetoothleadvertisementwatcher.cpp(1487)\Windows.Devices.Bluetooth.dll!00007FFE81D71628: (caller: 00007FFE81D737CE) Exception(7) tid(2d8c) 80070490 Element not found.
Exception at 0x7ffe8f09a388, code: 0xe06d7363: C++ exception, flags=0x1 (execution cannot be continued) (first chance) in Windows_Devices_Bluetooth
what does it means? and it error can be affect to my application. i don't the messages if my app run on a windows laptop have BTLE driver built-in
- When my app run on Win8, Win7 which have no BTLE driver built-in. it is crashed from QBTLE library. what can i do to fix it?
-
Create a Qt plugin and run QtBluetooth in that plugin. You should only load the plugin on Windows 10+ where it won't crash. On older systems - don't load the plugin (and don't use BLE).
-
thank @sierdzio
i am new on QT. can you send me any document to create a QT plugin to run QtBtluetooth in ?
-
Please see here: http://doc.qt.io/qt-5/plugins-howto.html
There are also some examples listed at the end of that page.
-
@aha_1980 thanks. i will try on it