Overview

PySide6 6.6, released on January 11, 2024, aligns the official Qt for Python binding with Qt 6.6 and new graphics features.

Main Features

Qt 6.6 alignment

PySide6 6.6 exposes new Qt 6.6 APIs, including QtQuick module improvements and better HiDPI screen support.

python
import sys
from PySide6.QtWidgets import QApplication, QMainWindow, QPushButton
from PySide6.QtCore import Slot

app = QApplication(sys.argv)
window = QMainWindow()
window.setWindowTitle('PySide6 6.6')
button = QPushButton('Click me', window)
window.setCentralWidget(button)
window.show()
sys.exit(app.exec())

QtGraphs module

The new QtGraphs module replaces QtDataVisualization with improved 3D chart performance.

python
from PySide6.QtWidgets import QApplication
from PySide6.QtCharts import QChart, QLineSeries

series = QLineSeries()
series.setName('Data')
for x in range(20):
    series.append(x, x * 1.5)

chart = QChart()
chart.addSeries(series)
chart.setTitle('PySide6 6.6 Chart')

Sources