QStandardPaths.AppLocalDataLocation missing in PyQt6?

Phil Thompson phil at riverbankcomputing.com
Thu Aug 26 18:21:54 BST 2021


On 26/08/2021 18:16, Marko Luther wrote:
> Dear Phil,
> 
> is AppLocalDataLocation no longer exported from QStandardPaths on
> PyQt6? I am using PyQt 6.1.1 from pip.
> 
>>>> from PyQt6.QtCore import QStandardPaths
>>>> QStandardPaths.AppLocalDataLocation
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
> AttributeError: type object 'QStandardPaths' has no attribute
> 'AppLocalDataLocation'

Enum members must be fully qualified in PyQt6.

Phil


More information about the PyQt mailing list