diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2021-06-18 13:53:58 +0200 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2021-07-09 09:00:11 +0200 |
commit | afb144e10c52a445429974e4d4796f84b930d4b7 (patch) | |
tree | 15297c826837d4ca42637db5387fd2a80a500878 /tools | |
parent | 589b2029dffe84c208db43c96d210e895fe4988f (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.
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>
(cherry picked from commit 06b3f1f2e7898b72b6c2baf87d63c118dc1ae267)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/qmlcachegen/qmlcachegen.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/tools/qmlcachegen/qmlcachegen.cpp b/tools/qmlcachegen/qmlcachegen.cpp index 6584d76af8..bb4517cde5 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); |