Overview
PySide6 6.10, released on October 8, 2025, adds the @QEnum decorator, performance improvements, and iOS support.
Main Features
@QEnum, performance, and iOS
The @QEnum decorator registers Python enumerations as Qt enums. Rendering performance is improved and iOS deployment is now supported.
python
from enum import Enum
from PySide6.QtCore import QEnum, QObject
class Backend(QObject):
@QEnum
class Status(Enum):
IDLE = 0
RUNNING = 1
ERROR = 2
# The enum is accessible from QML
print(Backend.Status.RUNNING) # Status.RUNNING
