pyrcc4(1)

pyrcc41

Compile qt resource files for pyqt4 applications

Usage

pyrcc4 [OPTIONS] ... FILES

Overview

pyrcc4 takes a Qt Resource File (.qrc) and converts it into a Python module which can be imported into a PyQt4 application. All files loaded by Qt that are prefixed with a colon will be loaded from the resources rather than the file system.

Options

-help

Show a summary of the options.

-version

Display the version number of pyrcc4 of the version of Qt which PyQt4 was generated for.

-py2

Generate code for any Python v2.x version (default).

-py3

Generate code for any Python v3.x version.

-o FILE

Write the generated output to FILE instead of stdout.

-name FUN

Create an external initialization function named FUN.

-threshold LEVEL

Set the threshold above which files should be compressed.

-compress LEVEL

Set the compression level for all input files.

-root PATH

Search all resource referenced in a .qrc file under PATH.

-no-compress

Do not compress the resource files at all.

Releases

6 releases since Debian 5.0 (Lenny); the text changed 1 time.

  1. 5.0–7
  2. 8–10

-py2 since Debian 8 (Jessie); -py3 since Debian 8 (Jessie).

Author

This manual page was written for Debian GNU/Linux by and Torsten Marek <[email protected]>, but may freely be used by others.

From pyqt4-dev-tools 4.12.1+dfsg-2+b1 in Debian 10 (Buster). Parsed by carta from the page's man source.