Home · All Classes · Main Classes · Grouped Classes · Modules · Functions

Resource Compiler (rcc)

The rcc tool is used to embed resources into a Qt application during the build process. It works by generating a C++ source file containing data specified in a Qt resource (.qrc) file.

Usage:

 rcc [options] <inputs>

RCC accepts the following command line options:

OptionArgumentDescription
-oWrites output to file rather than stdout.
-namenameCreates an external initialization function with name.
-thresholdlevelSpecifies a threshold to use when compressing files.
-compresslevelCompresses input files by the given level.
-rootpathPrefixes the resource access path with root path.
-no-compressDisables all compression.
-binaryOutputs a binary file for use as a dynamic resource.
-versionDisplays version information.
-helpDisplays usage information.

See also The Qt Resource System for more information about embedding resources in Qt applications.


Copyright © 2007 Trolltech Trademarks
Qt 4.2.3