Qt for Python 模块


These are the main modules that help you build a Widget-based UI.

Qt 核心

Provides core non-GUI functionality, like signal and slots, properties, base classes of item models, serialization, and more.


Extends QtCore with GUI functionality: Events, windows and screens, OpenGL and raster-based 2D painting, as well as images.

Qt Widgets

Provides ready to use Widgets for your application, including graphical elements for your UI.

QML 和 Qt Quick

Use these modules to interact with the QML Language <https://doc.qt.io/qt-5.qmlapplications> , from Python.


The base Python API to interact with the module.

Qt Quick

Provides classes to embed Qt Quick in Qt applications.

Qt QuickWidgets

Provides the QQuickWidget class to embed Qt Quick in widget-based applications.


Charts, diagrams, animations: these modules provide classes to help you include these elements in your UI.

Qt Charts

Provides a set of easy to use chart components.

Qt DataVisualization

Provides a way to visualize data in 3D as bar, scatter, or surface graphs.


Audio, video, and hardware interaction: use these modules for multimedia solutions.

Qt Multimedia


Qt MultimediaWidgets

提供基于 Widgets 的多媒体 API。


If your project is based on a browser or the features around Web-based applications, use these modules to interact with them.

Qt WebEngineWidgets

提供 Widget 以处理 Web 内容。

Qt WebChannel

Enables peer-to-peer communication between a server and a client (HTML/JavaScript or QML application).


PySide2 目前支持许多其它模块,这里可以找到它们的完整列表。