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-projectto build Qt Widgets Designer forms (.ui files),
resource files (.qrc) and QML type files (.qmltype)
from a .pyproject file.
Widget Development¶
pyside6-designerdrag-and-drop tool for designing Widget UIs (generates .ui files,
see Using .ui files from Designer or QtCreator with QUiLoader and pyside6-uic).
pyside6-uicto generate Python code from .ui form files.
pyside6-rccto generate serialized data from .qrc resources files.
Keep in mind these files can be used in other non-widget projects.
QML Development¶
pyside6-qmllintthat verifies the syntactic validity of QML files.
pyside6-qmltyperegistrarto read metatypes files and generate files that contain the necessary code to register all the types marked with relevant macros.
pyside6-qmlimportscannerto identify the QML modules imported from a project/QML files and dump the result as a JSON array.
pyside6-qmlcachegento compile QML to bytecode at compile time for bundling inside the binary.
pyside6-qmlscreplaces pyside6-qmlcachegen. This tool generates C++ code in
addition to byte code for functions it can exhaustively analyze.
pyside6-qmlto 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-svgtoqmlto convert SVG files to QML files.
Translations¶
pyside6-linguistfor translating text in applications.
pyside6-lreleaseto create run-time translation files for the application.
pyside6-lupdateto synchronize source code and translations.
Qt Help¶
pyside6-assistantfor viewing online documentation in Qt Help file format. Read more about the formats on the QtHelp Framework page.
PySide Utilities¶
pyside6-genpyito generate Python stubs (.pyi files) for Qt modules.
pyside6-metaobjectdumpa tool to print out the metatype information in JSON to be used as
input for qmltyperegistrar.
Deployment¶
pyside6-deployto deploy PySide6 applications to desktop platforms - Linux, Windows and macOS.
pyside6-android-deployto deploy PySide6 application as an Android app targeting different Android platforms - aarch64, armv7a, i686, x86_64.
Shader Tools¶
pyside6-qsba command-line tool provided by the Qt Shader Tools modules to generate and inspect .qsb files.
Qt Quick 3D¶
pyside6-balsama 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-balsamuia graphical user interface for the pyside6-balsam tool.