Qt Bluetooth on Windows
Andrew Gillan
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>
wrote:
> 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.
>
> Phil
>
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.
Andrew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20200512/aa64a93a/attachment.htm>
More information about the PyQt
mailing list