QDARKSTYLE.UTILS(1)
β¨ NAME β¨
qdarkstyle.utils β bestie, it's the script that processes QRC files π
(also it lives in section 1 of the manual, the User Commands girlies, if you were wondering π)
πΈ DESCRIPTION πΈ
okay so. the usage is giving this:
usage: qdarkstyle.utils [-h] [--qrc_dir QRC_DIR]
[--create {pyqt5,pyqt6,pyside2,pyside6,qtpy,pyqtgraph,qt,qt5,all}]
[--watch]
literally what it does: Script to process QRC files β it converts .qrc into _rc.py and .rcc. that's the whole vibe π¦
and the way it does that is it tries to compile the qrc file with these tools, one by one:
pyrcc4for PyQt4 and PyQtGraph (Python)pyrcc5for PyQt5 and QtPy (Python)pyside-rccfor PySide (Python)pyside2-rccfor PySide2 (Python)rccfor Qt4 and Qt5 (C++)
π«Ά heads up: after you run this, go delete the compiled files you don't wanna use. manually. yes, by hand, bestie, nobody's doing it for you π
π Links to understand those tools (iykyk, go read them)
pyrcc4:http://pyqt.sourceforge.net/Docs/PyQt4/resources.html#pyrcc4pyrcc5:http://pyqt.sourceforge.net/Docs/PyQt5/resources.html#pyrcc5pyside-rcc:https://www.mankier.com/1/pyside-rccpyside2-rcc:https://doc.qt.io/qtforpython/overviews/resources.html(Documentation Incomplete β not me defending it, that's just what it says π)rccon Qt4:http://doc.qt.io/archives/qt-4.8/rcc.htmlrccon Qt5:http://doc.qt.io/qt-5/rcc.html
π optional arguments π
-h,--helpβ show this help message and exit. the classic. the icon. press it, read it, slay β--qrc_dir QRC_DIRβ QRC file directory, relative to current directory. so like, where the qrc files are at, from wherever you're standing rn π--create {pyqt,pyqt5,pyside,pyside2,qtpy,pyqtgraph,qt,qt5,all}β Choose which one would be generated. pick your fighter π (yes bestie, this list and the usage list up top are literally different lists β that's just what the page says, don't @ me π)--watch,-wβ Watch for file changes. main character energy, it just keeps watching π
and that's the whole page, no cap π«Ά go convert those qrc files, you ate.
mwah π this one's from qdarkstyle, dated January 2022 β stay iconic, bestie π
π¦ where this page comes from
- debian trixie: python3-qdarkstyle 3.2.3+ds1-3 Β· MIT
- ubuntu questing: python3-qdarkstyle 3.2.3+ds1-3
- ubuntu resolute: python3-qdarkstyle 3.2.3+ds1-3build1 Β· MIT
- ubuntu stonking: python3-qdarkstyle 3.2.3+ds1-3build1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms