From 1e0db4577a8a2a4fca008d9dd58becb5ebf09757 Mon Sep 17 00:00:00 2001 From: Ulf Hermann Date: Thu, 18 Apr 2024 11:05:44 +0200 Subject: qmlcachegen: Add hidden --static option We want qmlcachegen to accept the same arguments as qmlsc so that people don't have to fiddle with the build system when they need to switch between them. Pick-to: 6.7 6.5 Change-Id: If21cbd262104c68c96649b4b0882c079c3862f05 Reviewed-by: Sami Shalayel Reviewed-by: Fabian Kosmale --- tools/qmlcachegen/qmlcachegen.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tools') diff --git a/tools/qmlcachegen/qmlcachegen.cpp b/tools/qmlcachegen/qmlcachegen.cpp index bcd6a7387f..1180931d9f 100644 --- a/tools/qmlcachegen/qmlcachegen.cpp +++ b/tools/qmlcachegen/qmlcachegen.cpp @@ -83,6 +83,9 @@ int main(int argc, char **argv) QCommandLineOption directCallsOption("direct-calls"_L1, QCoreApplication::translate("main", "This option is ignored.")); directCallsOption.setFlags(QCommandLineOption::HiddenFromHelp); parser.addOption(directCallsOption); + QCommandLineOption staticOption("static"_L1, QCoreApplication::translate("main", "This option is ignored.")); + staticOption.setFlags(QCommandLineOption::HiddenFromHelp); + parser.addOption(staticOption); QCommandLineOption importsOption("i"_L1, QCoreApplication::translate("main", "Import extra qmldir"), QCoreApplication::translate("main", "qmldir file")); parser.addOption(importsOption); QCommandLineOption importPathOption("I"_L1, QCoreApplication::translate("main", "Look for QML modules in specified directory"), QCoreApplication::translate("main", "import directory")); -- cgit v1.2.3