process_qrc module

Script to process QRC files (convert .qrc to _rc.py and .rcc).

The script will attempt to compile the qrc file using the following tools:

  • pyrcc4 for PyQt4 and PyQtGraph (Python)

  • pyrcc5 for PyQt5 and QtPy (Python)

  • pyside-rcc for PySide (Python)

  • pyside2-rcc for PySide2 (Python)

  • rcc for Qt4 and Qt5 (C++)

Delete the compiled files that you don’t want to use manually after running this script.

Links to understand those tools:

class process_qrc.QSSFileHandler(parser_args)[source]

Bases: watchdog.events.FileSystemEventHandler

QSS File observer.

on_modified(event)[source]

Handle file system events.

process_qrc.main(arguments)[source]

Process QRC files.

process_qrc.run_process(args)[source]

Process qrc files.