Scroll to navigation

PYSIDE6-QML(1) PySide6 tools PYSIDE6-QML(1)

NAME

pyside6-qml - qml

DESCRIPTION

usage: qml.py [-h] [--module-paths MODULE_PATHS [MODULE_PATHS ...]]

[--list-conf] [--apptype {core,gui,widget}] [--config {default,resizeToItem}] [--rhi {vulkan,metal,d3dll,gl}] [--core-profile] [-v] [--gles | --desktop | --software | --disable-context-sharing] file

This tools mimics the capabilities of qml runtime utility by directly invoking QQmlEngine/QQuickView. It enables quick prototyping with qml files.

positional arguments:

Path to qml file to display

options:

show this help message and exit
Specify space separated folder/file paths where the Qml classes are defined. By default,the parent directory of the qml_path is searched recursively for all .py files and they are imported. Otherwise only the paths give in module paths are searched
List the built-in configurations.
Select which application class to use. Default is gui
Select the built-in configurations.
Set the backend for the Qt graphics abstraction (RHI).
Force use of OpenGL Core Profile.
Print information about what qml is doing, like specific file URLs being loaded.
Force use of GLES (AA_UseOpenGLES)
Force use of desktop OpenGL (AA_UseDesktopOpenGL)
Force use of software rendering(AA_UseSoftwareOpenGL)
Disable the use of a shared GL context for QtQuick Windows
March 2026 pyside6-qml 6.10