Qt6.5 QPermission

Phil Thompson phil at riverbankcomputing.com
Sun May 21 16:07:25 BST 2023

On 16/05/2023 17:26, Marko Luther wrote:
> Dear Phil,
> shouldn't the QPermission class be available in QtCore, or is the
> QPermission API not yet supported by PyQt6?
>>>> from PyQt6.QtCore import QBluetoothPermission
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
> ImportError: cannot import name 'QBluetoothPermission' from
> 'PyQt6.QtCore'
> (/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/PyQt6/QtCore.abi3.so)

It isn't supported by PyQt6. It isn't supported on Linux and Windows 
anyway and for macOS you have to include entries in the Info.plist file. 
I'm not sure how practical that is.

Suggestions welcome.


More information about the PyQt mailing list