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

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

(Различия между версиями)
Перейти к: навигация, поиск
(Новая: {{Qt4.3.2_header}} =Resource Compiler (rcc)<br />= The <tt>rcc</tt> tool is used to embed resources into a Qt application during the build process. It works by generating a C++ source f...)
 
Строка 2: Строка 2:
=Resource Compiler (rcc)<br />=
=Resource Compiler (rcc)<br />=
 +
<div id="rcc"></div>
The <tt>rcc</tt> 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.
The <tt>rcc</tt> 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:
Usage:
-
<source lang="cpp-qt"> rcc [options] &lt;inputs&gt;</source>  
+
<source lang="cpp-qt"> rcc [options] <inputs></source>  
RCC accepts the following command line options:
RCC accepts the following command line options:
Строка 53: Строка 54:
See also [[Qt:Документация 4.3.2/resources | The Qt Resource System]] for more information about embedding resources in Qt applications.
See also [[Qt:Документация 4.3.2/resources | The Qt Resource System]] for more information about embedding resources in Qt applications.
-
 
{{Qt4.3.2_footer}}
{{Qt4.3.2_footer}}

Текущая версия на 10:48, 6 ноября 2008

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

__NOTOC__

Image:qt-logo.png

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

Image:trolltech-logo.png

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


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