Skip to content

Commit

Permalink
uic: Remove deprecated options
Browse files Browse the repository at this point in the history
The --no-stringliteral option got introduced by commit d12d294
for 5.10.0, but already deprecated in commit  ff18b02 for 5.12.0.

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

Change-Id: I7a0f647ad91b3760bc826884702bf8581f5565f2
Reviewed-by: Jarek Kobus <[email protected]>
  • Loading branch information
kkoehne committed May 27, 2019
1 parent 1dde5a7 commit 5505d25
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/tools/uic/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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"));
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 5505d25

Please sign in to comment.