aboutsummaryrefslogtreecommitdiffstats
path: root/tools/qmlcachegen/qmlcachegen.cpp
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2021-06-18 13:53:58 +0200
committerUlf Hermann <ulf.hermann@qt.io>2021-06-18 15:41:50 +0200
commit06b3f1f2e7898b72b6c2baf87d63c118dc1ae267 (patch)
tree7645c0b0a339c9cb8f6eaf7d1b7b908b4844a83e /tools/qmlcachegen/qmlcachegen.cpp
parent8a46606ee7b103100bb09d175ec296b521cf91c7 (diff)
Replace qmlcachegen's --qmljs-runtime with generic mechanism
We don't need --qmljs-runtime after all. However, we do want to pass custom arguments to qmlcachegen. This way we don't need to change the world whenever we invent one. Pick-to: 6.2 Change-Id: I99f0c99c4b15e469605dc43d26871fa43dc36c08 Reviewed-by: Andrei Golubev <andrei.golubev@qt.io> Reviewed-by: Fawzi Mohamed <fawzi.mohamed@qt.io> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'tools/qmlcachegen/qmlcachegen.cpp')
-rw-r--r--tools/qmlcachegen/qmlcachegen.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/tools/qmlcachegen/qmlcachegen.cpp b/tools/qmlcachegen/qmlcachegen.cpp
index 8f8ef3a030..29fe609469 100644
--- a/tools/qmlcachegen/qmlcachegen.cpp
+++ b/tools/qmlcachegen/qmlcachegen.cpp
@@ -106,9 +106,6 @@ int main(int argc, char **argv)
QCommandLineOption directCallsOption(QStringLiteral("direct-calls"), QCoreApplication::translate("main", "This option is ignored."));
directCallsOption.setFlags(QCommandLineOption::HiddenFromHelp);
parser.addOption(directCallsOption);
- QCommandLineOption qmlJSRuntimeOption(QStringLiteral("qmljs-runtime"), QCoreApplication::translate("main", "This option is ignored."));
- qmlJSRuntimeOption.setFlags(QCommandLineOption::HiddenFromHelp);
- parser.addOption(qmlJSRuntimeOption);
QCommandLineOption includesOption(QStringLiteral("i"), QCoreApplication::translate("main", "This option is ignored."), QCoreApplication::translate("main", "ignored file"));
includesOption.setFlags(QCommandLineOption::HiddenFromHelp);
parser.addOption(includesOption);