Qt:Документация 4.3.2/rcc

Материал из Wiki.crossplatform.ru

Перейти к: навигация, поиск
40px Внимание: Актуальная версия перевода документации находится здесь



Главная · Все классы · Основные классы · Классы по группам · Модули · Функции


[править] 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.


 rcc [options] <inputs>

RCC accepts the following command line options:

Option Argument Description
-o Writes output to file rather than stdout.
-name name Creates an external initialization function with name.
-threshold level Specifies a threshold to use when compressing files.
-compress level Compresses input files by the given level.
-root path Prefixes the resource access path with root path.
-no-compress Disables all compression.
-binary Outputs a binary file for use as a dynamic resource.
-version Displays version information.
-help Displays usage information.

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

Copyright © 2007 Trolltech Trademarks
Qt 4.3.2