uic: Remove deprecated options

The --no-stringliteral option got introduced by commit d12d2949d1
for 5.10.0, but already deprecated in commit  ff18b02f21 for 5.12.0.

[ChangeLog][uic] uic does not accept the --no-stringliteral/-s option
anymore.

Change-Id: I7a0f647ad91b3760bc826884702bf8581f5565f2
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
bb10
Kai Koehne 2019-05-17 14:30:10 +02:00
parent 1dde5a7b95
commit 5505d25be9
1 changed files with 0 additions and 7 deletions

View File

@ -76,10 +76,6 @@ int runUic(int argc, char *argv[])
noImplicitIncludesOption.setDescription(QStringLiteral("Disable generation of #include-directives."));
parser.addOption(noImplicitIncludesOption);
QCommandLineOption noStringLiteralOption(QStringList() << QStringLiteral("s") << QStringLiteral("no-stringliteral"));
noStringLiteralOption.setDescription(QStringLiteral("Deprecated. The use of this option won't take any effect."));
parser.addOption(noStringLiteralOption);
QCommandLineOption postfixOption(QStringLiteral("postfix"));
postfixOption.setDescription(QStringLiteral("Postfix to add to all generated classnames."));
postfixOption.setValueName(QStringLiteral("postfix"));
@ -124,9 +120,6 @@ int runUic(int argc, char *argv[])
}
language::setLanguage(language);
if (parser.isSet(noStringLiteralOption))
fprintf(stderr, "The -s, --no-stringliteral option is deprecated and it won't take any effect.\n");
QString inputFile;
if (!parser.positionalArguments().isEmpty())
inputFile = parser.positionalArguments().at(0);