PYSIDE6-QML(1)
PYSIDE6-QML(1) π
okay so this is pyside6-qml, one of the PySide6 tools, and bestie it is so fun β it's the thing you use when you want to run a .qml file, like, right now, no build step, no project setup, nothing. Just vibes. β¨
πΈ NAME πΈ
pyside6-qml β literally just qml. bestie. that's the whole name. π
β¨ DESCRIPTION β¨
Here's the whole usage, verbatim, because you will need it:
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
So this tool mimics the capabilities of the qml runtime utility by directly invoking QQmlEngine/QQuickView β no cap, it just goes straight to the engine. Which means it enables quick prototyping with qml files. You write a qml file, you run it, you see it. periodt. π¦
π positional arguments
fileβ Path to qml file to display. that's the one, the file you wanna see, give it here. π
π options
-h,--helpβ show this help message and exit. the classic. always there for you. π«Ά--module-paths,-IMODULE_PATHS [MODULE_PATHS ...]β 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.pyfiles and they are imported. Otherwise only the paths give in module paths are searched. so like β default behaviour is it goes rummaging through the parent dir of your qml file, recursive, scooping up every.pyit finds and importing them. but if you pass this, it only looks where you said. your call bestie π--list-confβ List the built-in configurations. lil peek at what configs exist before you pick one π--apptype,-a{core,gui,widget}β Select which application class to use. Default isgui. lowkey important decision, don't sleep on it β¨--config,-c{default,resizeToItem}β Select the built-in configurations. π--rhi,-r{vulkan,metal,d3dll,gl}β Set the backend for the Qt graphics abstraction (RHI). pick your graphics flavour, iconic π--core-profileβ Force use of OpenGL Core Profile. forcing it. no negotiation. π₯-v,--verboseβ Print information about what qml is doing, like specific file URLs being loaded. the "tell me everything" button, honestly obsessed π--glesβ Force use of GLES (AA_UseOpenGLES). π--desktopβ Force use of desktop OpenGL (AA_UseDesktopOpenGL). π¦--softwareβ Force use of software rendering(AA_UseSoftwareOpenGL). for when the GPU said no π--disable-context-sharingβ Disable the use of a shared GL context for QtQuick Windows. π§
heads up bestie:--gles,--desktop,--software, and--disable-context-sharingall live in the same group in that usage line, so they're mutually exclusive-ish β you can only pick one of the rendering modes there. choose wisely π
and that's the whole thing! go prototype something cute ππ¦πΈ
pyside6-qml 6.11 β September 2026 β mwah, love u, go make something iconic bestie π β¨π
π¦ where this page comes from
- ubuntu stonking: pyside6-tools 6.11.2-1build1 Β· GPL-3-EXCEPT OR LGPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms