Resource Compiler (rcc)
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.
rcc [options] <inputs>
RCC accepts the following command line options:
|Write output to |
|Create an external initialization function with |
|Specifies a threshold |
|The algorithm to compress files with. Supported algorithms are |
|Compress input files to the given compression |
|Prefix the resource access path with |
|Pass number for big resources|
|Output a binary file for use as a dynamic resource.|
|Display version information.|
|Display usage information.|
|Use temporary <file> for big resources.|
|Turn off namespace macros.|
|Enable verbose mode.|
|Only list .qrc file entries, do not generate code.|
|Only output a mapping of resource paths to file system paths defined in the .qrc file, do not generate code.|
|Write a depfile with the .qrc dependencies to <file>.|
|Output a resource file containing all files from the current directory.|
|The RCC format version to write.|
See also The Qt Resource System for more information about embedding resources in Qt applications.
© 2021 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.