User Interface Compiler (uic)
|
Option | Description |
---|---|
-o <file> | Write output to <file> instead of to standard output. |
-tr <func> | Use <func> for translating strings instead of tr(). |
-p | Don't generate guards against multiple inclusion (#ifndef FOO_H ...). |
-h | Display the usage and the list of options. |
-v | Display uic's version number. |
If you use qmake, uic will be invoked automatically for header files.
Here are useful makefile rules if you only use GNU make:
ui_%.h: %.ui uic $< -o $@
If you want to write portably, you can use individual rules of the following form:
ui_foo.h: foo.ui uic $< -o $@
You must also remember to add ui_foo.h to your HEADERS (substitute your favorite name).
Copyright © 2008 Nokia | Trademarks | Qt 4.4.3 |
Попытка перевода Qt документации. Если есть желание присоединиться, или если есть замечания или пожелания, то заходите на форум: Перевод Qt документации на русский язык... Люди внесшие вклад в перевод: Команда переводчиков |