PYSIDE6-QMLCACHEGEN(1)

πŸ“¦
version 6.11.2 Β· 2 versions
, in ubuntu stonking

πŸ’… PYSIDE6-QMLCACHEGEN

okay bestie, welcome to the PySide6 tools corner of the manual, this one's all about pyside6-qmlcachegen ✨ it lives in the PySide6 tools section, lowercase, cute, does one job and does it well.


πŸŽ€ NAME

pyside6-qmlcachegen β€” literally just qmlcachegen πŸ¦‹


✨ SYNOPSIS

qmlcachegen [options] [qml file]

πŸ‘‘ OPTIONS

  • -h, --help β€” shows you the help for the commandline options. the classic "i forgot what the flag was" move πŸ™ˆ
  • --help-all β€” same energy but it ALSO shows the generic Qt options. the full deluxe version.
  • -v, --version β€” tells you the version info. slay.
  • --bare β€” do not include the default import directories. use this when you wanna run qmlcachegen on a project that's using a different Qt version. fitting name honestly, it's giving minimalism πŸ’…
  • --filter-resource-file β€” filters out the QML/JS files from a resource file that can be cached ahead of time instead πŸ”₯
  • --resource-file-mapping <old-name=new-name> β€” the path from the original resource file to the new one. note the <old-name=new-name> shape, keep it exact bestie.
  • --resource <resource-file-name> β€” a Qt resource file that might later contain one of the compiled files.
  • --resource-path <resource-path> β€” the Qt resource file path that corresponds to the file being compiled.
  • --resource-name <compiled-file-list> β€” required if you wanna generate qmlcache_loader without qrc files. this is the name of the Qt resource that the input files belong to. no skipping this one, it's mandatory in that case πŸ‘‘
  • -i <qmldir file> β€” import an extra qmldir 🧚
  • -I <import directory> β€” look for QML modules in the specified directory. capital I, don't mix it up with lowercase i, they are Not the same thing.
  • --only-bytecode β€” generate only byte code for bindings and functions, no C++ code. bytecode only, no cap πŸ’€
  • --verbose β€” outputs compile warnings. the "tell me everything" mode.
  • --warnings-are-errors β€” treats warnings as errors. dramatic? yes. useful? also yes. 🌸
  • --validate-basic-blocks β€” performs checks on the basic blocks of a function compiled ahead of time, to validate its structure and coherence. it's like a vibe check but for control flow 🌈
  • --dump-aot-stats β€” dumps statistics about ahead-of-time compilation of bindings and functions. numbers go brrr πŸ“Š
  • --module-id <id> β€” identifies the module of the qml file being compiled, for aot stats. pairs great with --dump-aot-stats iykyk.
  • -o <file name> β€” output file name. where the goods go πŸ’–

🫢 Arguments

  • [qml file] β€” the QML source file to generate a cache for. the main character of this whole operation ⭐

reminder bestie: this whole thing is qmlcachegen under the hood, the pyside6- prefix is just how you reach it πŸŽ€

and that's the page!! brought to you by pyside6-qmlcachegen 6.11, dated September 2026 β€” catch you in the next manpage, mwah πŸ’‹πŸ’œ

πŸ“¦ where this page comes from