[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: [PyQt] Missing Enum in PyQt5.QtBluetooth
From: Stefan_Dröge <stefan () sdroege ! de>
Date: 2017-06-30 21:30:45
Message-ID: CAB89gJEP-FALvcb7wb1nAvzw7o20pVH4Bzb07JiajkBLvjVWPQ () mail ! gmail ! com
[Download RAW message or body]
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@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
_______________________________________________
PyQt mailing list PyQt@riverbankcomputing.com
https://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic