PYRCC5(1)

πŸ’– PYRCC5 πŸ’–

okay bestie, gather round, because pyrcc5 is literally the moment you stop shipping loose files with your app and start bundling them like a queen πŸ‘‘


✨ NAME ✨

pyrcc5 β€” compile Qt resource files for PyQt5 applications πŸŽ€


🌸 SYNOPSIS 🌸

pyrcc5 [OPTION]... FILES

πŸ¦‹ DESCRIPTION πŸ¦‹

So here's the vibe: pyrcc5 takes a Qt Resource File (.qrc) and converts it into a Python module that you can import straight into your PyQt5 app. No cap. πŸ“¦βœ¨

And then the iconic part β€” every file that Qt loads with a colon in front of it will be pulled from the resources instead of from the actual file system. The way that just... works. Iconic behaviour, honestly. πŸ’…


πŸ‘‘ OPTIONS πŸ‘‘

  • -help β€” shows you a lil summary of all the options. a menu of possibilities, if you will 🫢
  • -version β€” prints the version number and then dips out. exits immediately, no small talk πŸ’€
  • -o FILE β€” writes the generated output to FILE instead of dumping it to stdout. highly recommend unless you enjoy scrolling πŸ“
  • -threshold LEVEL β€” sets the threshold above which files should be compressed. the cutoff line, bestie ⭐
  • -compress LEVEL β€” sets the compression level for all input files. every single one. no favourites 🌈
  • -root PATH β€” searches all resources referenced in a .qrc file under PATH 🌳
  • -no-compress β€” do not compress the resource files at all. just... raw. unbothered. unzipped. πŸ™ˆ

πŸ’œ AUTHOR πŸ’œ

This manual page was written for Debian GNU/Linux by Torsten Marek <shlomme@debian.org>, but may freely be used by others. king behaviour, sharing is caring πŸŽ€


pyrcc 5.0 🌸 2013/06/29 β€” and that's the whole page bestie, slay, go compile something gorgeous πŸ’–βœ¨πŸ¦‹