OS Manuals

/usr/bin/uic

Qt5 - QtBase components

From qt5-qtbase 5.15.19-r3 (os), captured 2026-11-05 by running uic --help (exit 0). permalink

Usage: /usr/bin/uic [options] [uifile]
Qt User Interface Compiler version 5.15.19

Options:
  -h, --help                    Displays help on commandline options.
  --help-all                    Displays help including Qt specific options.
  -v, --version                 Displays version information.
  -d, --dependencies            Display the dependencies.
  -o, --output <file>           Place the output into <file>
  -a, --no-autoconnection       Do not generate a call to
                                QObject::connectSlotsByName().
  -p, --no-protection           Disable header protection.
  -n, --no-implicit-includes    Disable generation of #include-directives.
  -s, --no-stringliteral        Deprecated. The use of this option won't take
                                any effect.
  --postfix <postfix>           Postfix to add to all generated classnames.
  --tr, --translate <function>  Use <function> for i18n.
  --include <include-file>      Add #include <include-file> to <file>.
  -g, --generator <python|cpp>  Select generator.
  --idbased                     Use id based function for i18n
  --from-imports                Python: generate imports relative to '.'

Arguments:
  [uifile]                      Input file (*.ui), otherwise stdin.
Options (15)
OptionDescriptionSource
-h, --helpDisplays help on commandline options.help
--help-allDisplays help including Qt specific options.help
-v, --versionDisplays version information.help
-d, --dependenciesDisplay the dependencies.help
-o, --output filePlace the output into <file>help
-a, --no-autoconnectionDo not generate a call to QObject::connectSlotsByName().help
-p, --no-protectionDisable header protection.help
-n, --no-implicit-includesDisable generation of #include-directives.help
-s, --no-stringliteralDeprecated.help
--postfix postfixPostfix to add to all generated classnames.help
--tr, --translate functionUse <function> for i18n.help
--include include-fileAdd #include <include-file> to <file>.help
-g, --generator python|cppSelect generator.help
--idbasedUse id based function for i18nhelp
--from-importsPython: generate imports relative to '.'help

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.