[PyQt] Missing Enum in PyQt5.QtBluetooth

Stefan Dröge stefan at sdroege.de
Fri Jun 30 22:30:45 BST 2017


Some additional info on the version:

>>> from PyQt5 import QtCore
>>> import sys
>>> print('sys.version:', sys.version)
sys.version: 3.6.1 (default, Apr  4 2017, 09:40:21)
[GCC 4.2.1 Compatible Apple LLVM 8.1.0 (clang-802.0.38)]
>>> print('sys.version:', sys.platform)
sys.version: darwin
>>> print('QT_VERSION_STR:', QtCore.QT_VERSION_STR)
QT_VERSION_STR: 5.8.0
>>> print('PYQT_VERSION_STR:', QtCore.PYQT_VERSION_STR)
PYQT_VERSION_STR: 5.8.2


2017-06-30 22:47 GMT+02:00 Stefan Dröge <stefan at sdroege.de>:
> Hi everyone,
> since Qt 5.8 the QBluetoothDeviceDiscoveryAgent defines an Enum
> `DiscoveryMethod` which seems to be missing in PyQt 5.8.2.
>
> Here is a small test:
>
> `python -c 'import PyQt5.QtBluetooth;
> print(PyQt5.QtBluetooth.QBluetoothDeviceDiscoveryAgent.LowEnergyMethod)'`
>
> All the best,
> Stefan


More information about the PyQt mailing list