PYSIDE6-SVGTOQML(1)

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

✨ NAME ✨

pyside6-svgtoqml β€” bestie, it's literally svgtoqml πŸ’… it turns your SVGs into QML and it does NOT miss


🌸 SYNOPSIS 🌸

<executable_name> [options] input [output]

πŸ¦‹ DESCRIPTION πŸ¦‹

SVG to QML converter. That's the whole vibe: you feed it an SVG, it hands you back QML. Slay. ✨


πŸ’– OPTIONS πŸ’–

  • -h, --help β€” shows you the help for the commandline options. iconic behaviour honestly 🫢
  • --help-all β€” same energy, but it also includes all the generic Qt options. the deluxe version, no cap ✨
  • -c, --curve-renderer β€” use the curve renderer in the generated QML. fancy curves only πŸ’…
  • -a, --asynchronous-shapes β€” turns on asynchronous mode in the generated Shape items. multitasking queen πŸ‘‘
  • -p, --optimize-paths β€” optimizes the paths for the curve renderer. glow-up for your paths ✨
  • -t, --type-name <typename> β€” use <typename> for Shape. name your baby whatever you want πŸŽ€
  • --copyright-statement <string> β€” adds <string> as a comment at the very start of the generated file. protect your art, put your name on it πŸ’œ
  • --outline-stroke-mode β€” strokes the outline (contour) of the filled shape instead of the original path. Also sets optimize-paths. two things at once, we love a multitasker πŸ”₯
  • --asset-output-directory <directory> β€” if the SVG refers to external or embedded files, like images, they get copied into the same directory as the output QML file by default. set the asset output directory to override that location. your files, your rules πŸ“
  • --asset-output-prefix <prefix> β€” if the SVG refers to external or embedded files, like images, they get copied to files with unique identifiers. by default those files get prefixed with "svg_asset_". set the asset output prefix to override the prefix. change the prefix, change the vibe 🌈
  • --keep-external-paths β€” any paths to external files are retained in the QML output, and the paths get reformatted as relative to the output file. if this is not enabled, copies of the file get saved to the asset output directory instead. heads up: embedded data still gets saved to files even if this option is set. no takebacks on that one πŸ™ˆ
  • --no-assume-trusted-source β€” when parsing the SVG, this enables certain checks and restrictions which are not enabled by default. lowkey the responsible choice, ngl πŸ”’
  • -v, --view β€” displays the generated QML in a window. this is the default behavior if no output file is specified. main character energy, it just wants to be seen πŸ‘€

πŸ“ Arguments πŸ“

  • input β€” SVG file to read. the raw material πŸ’–
  • output β€” QML file to write. the finished look ✨

and that's the whole page, bestie!! go convert some shapes, you got this 🧚

signing off: pyside6-svgtoqml 6.11, September 2026, brought to you by the PySide6 tools girlies πŸ’…πŸŽ€

πŸ“¦ where this page comes from