Tools¶
Following the same idea from the modules, we also include in the packages
(wheels) Qt tools that are important for any Qt application development
workflow, like uic
, rcc
, etc.
All the tools must be used from the PySide wrappers, and not directly.
For example, if exploring the site-packages/
directory on your installation
you find uic.exe
(on Windows), you should not click on that, and use
pyside6-uic.exe
instead.
The reason for this is the proper setup of PATHs, plugins, and more,
to properly work with the installed Python package.
Here you can find all the tools we include in Qt for Python starting from 6.3.0, grouped by different topics:
Project development¶
pyside6-project
to build Qt Widgets Designer forms (.ui
files),
resource files (.qrc
) and QML type files (.qmltype
)
from a .pyproject
file.
Widget Development¶
pyside6-designer
drag-and-drop tool for designing Widget UIs (generates .ui
files,
see Using .ui files from Designer or QtCreator with QUiLoader and pyside6-uic).
pyside6-uic
to generate Python code from .ui
form files.
pyside6-rcc
to generate serialized data from .qrc
resources files.
Keep in mind these files can be used in other non-widget projects.
QML Development¶
pyside6-qmllint
that verifies the syntactic validity of QML files.
pyside6-qmltyperegistrar
to read metatypes files and generate files that contain the necessary code to register all the types marked with relevant macros.
pyside6-qmlimportscanner
to identify the QML modules imported from a project/QML files and dump the result as a JSON array.
pyside6-qmlcachegen
to compile QML to bytecode at compile time for bundling inside the binary.
pyside6-qmlsc
replaces pyside6-qmlcachegen
. This tool generates C++ code in
addition to byte code for functions it can exhaustively analyze.
pyside6-qml
to enable quick prototyping with QML files. This tool mimics some of
the capabilities of Qt’s QML
runtime utility by
directly invoking QQmlEngine/QQuickView.
pyside6-svgtoqml
to convert SVG files to QML files.
Translations¶
pyside6-linguist
for translating text in applications.
pyside6-lrelease
to create run-time translation files for the application.
pyside6-lupdate
to synchronize source code and translations.
Qt Help¶
pyside6-assistant
for viewing online documentation in Qt Help file format. Read more about the formats on the QtHelp Framework page.
PySide Utilities¶
pyside6-genpyi
to generate Python stubs (.pyi
files) for Qt modules.
pyside6-metaobjectdump
a tool to print out the metatype information in JSON to be used as
input for qmltyperegistrar
.
Deployment¶
pyside6-deploy
to deploy PySide6 applications to desktop platforms - Linux, Windows and macOS.
pyside6-android-deploy
to deploy PySide6 application as an Android app targeting different Android platforms - aarch64, armv7a, i686, x86_64.
Shader Tools¶
pyside6-qsb
a command-line tool provided by the Qt Shader Tools modules to generate and inspect .qsb files.
Qt Quick 3D¶
pyside6-balsam
a command line tool that takes assets created in digital content creation tools like Maya, 3ds Max or Blender and converts them into an efficient runtime format for use with Qt Quick 3D.
pyside6-balsamui
a graphical user interface for the pyside6-balsam
tool.