Qt Bluetooth on Windows
andrew at firstlighttechnologies.com
Tue May 12 23:15:28 BST 2020
On Tue, 12 May 2020 at 13:56, Phil Thompson <phil at riverbankcomputing.com>
> On 12/05/2020 21:32, Andrew Gillan wrote:
> > With Qt 5.14 native Win32 support was added for Qt Bluetooth on
> > Windows.
> > See https://doc.qt.io/qt-5/qtbluetooth-index.html
> > I believe this should allow the use of the bluetooth classes on Windows
> > now
> > as long the specified option, -native-win32-bluetooth, is used when
> > compiling the shared library.
> > When I tried to use the PyQt5.QBluetooth out of the box on Windows, it
> > did
> > not appear to work. Was the above mentioned option used to create the
> > QBluetooth shared library. If not, can this be added or will I need to
> > compile it myself?
> I don’t compile Qt myself, it’s taken from the online installer.
Thanks Phil. I'll have to compile it myself as it defaults to UWP.
>From what I understand, Python targets the Win32 not UWP, so that is why
this doesn't work out of the box.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the PyQt