I did some more research on this. Qt WebEngine in 5.4.2 is based on Chrome 37 
(see 
http://code.qt.io/cgit/qt/qtwebengine.git/tree/tools/scripts/version_resolver.py?h=5.4.2).
 The Chrome bluetooth and bluetoothLowEnergy APIs were added in Chrome 37. So 
theoretically this support may be in Qt 5.4.2.

I downloaded the latest Windows build of Otter (http://otter-browser.org/) 
which is also using Qt 5.4.2 and tried loading the Chrome Bluetooth LE Device 
Information Service Demo from 
https://github.com/GoogleChrome/chrome-app-samples/tree/master/samples/bluetooth-samples/device-info-demo.
 This shows "No connected devices". I don't have a Bluetooth LE device to 
search for but I'm hoping the fact that it didn't just show an error means the 
API is supported.

Tom Isaacson

From: Tom Isaacson
Sent: Friday, 12 June 2015 4:13 a.m.
To: Interest@qt-project.org
Subject: [Interest] Bluetooth support in Qt WebEngine

Is there any support for Bluetooth in Qt WebEngine from HTML5/JS? I know that 
Chrome supports some interfaces:
https://developer.chrome.com/apps/app_bluetooth

I wasn't sure if this functionality carried over into Qt WebEngine via Blink. 
If it doesn't does anyone know of any other support for Bluetooth from HTML5/JS?

Thanks,

Tom Isaacson




_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to