qt5base-lts/src/tools
David Faure 468b539935 Port uic to QCommandLineParser
Before:
=======
Qt User Interface Compiler version 5.2.0
Usage: uic [options] <uifile>

  -h, -help                 display this help and exit
  -v, -version              display version
  -d, -dependencies         display the dependencies
  -o <file>                 place the output into <file>
  -tr <func>                use func() for i18n
  -p, -no-protection        disable header protection
  -n, -no-implicit-includes disable generation of #include-directives
                            for forms generated by uic3
  -g <name>                 change generator

After:
======
Usage: uic [options] [uifile]
Qt User Interface Compiler version 5.2.0

Options:
  -h, --help                    Displays this help.
  -v, --version                 Displays version information.
  -d, --dependencies            Display the dependencies.
  -o, --output <file>           Place the output into <file>
  -p, --no-protection           Disable header protection.
  -n, --no-implicit-includes    Disable generation of #include-directives.
  --postfix <postfix>           Postfix to add to all generated classnames.
  --tr, --translate <function>  Use <function> for i18n.
  -g, --generator <java|cpp>    Select generator.

Arguments:
  [uifile]                      Input file (*.ui), otherwise stdin.

Notes:
* "-dependencies" etc. still work.
* -n option still has effect, but technically not only for ui3 files
* the fact that the <uifile> parameter is optional wasn't documented
* -postfix option was undocumented
* -translate alternative for -tr was undocumented
The last two points show the benefit of using QCommandLineParser.

Change-Id: Ie05cfb9bbe50f4ac2788aa7b6011b2daa1acde6a
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Laszlo Papp <lpapp@kde.org>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
2013-08-29 10:25:01 +02:00
..
bootstrap Add QCommandLineParser to the bootstrap lib 2013-08-28 12:15:43 +02:00
bootstrap-dbus redo include path logic for pre-generated headers 2013-06-10 21:12:29 +02:00
moc don't include qconfig.cpp into moc and uic 2013-08-15 18:02:42 +02:00
qdbuscpp2xml QDBus: improve error handling, to give the developer feedback. 2013-07-01 17:04:23 +02:00
qdbusxml2cpp Let qdbusxml2cpp generate code that compiles: no '-' in variable names. 2013-07-01 17:04:26 +02:00
qdoc qdoc: Fixed the relative link to installdir problem 2013-08-26 08:53:32 +02:00
rcc Port rcc to QCommandLineParser. 2013-08-29 10:25:01 +02:00
uic Port uic to QCommandLineParser 2013-08-29 10:25:01 +02:00