diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2019-12-23 15:17:17 +0100 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2019-12-24 15:26:04 +0100 |
commit | dbde4265657db16621551d12a25ff8ffaa18eb73 (patch) | |
tree | b12b14a6c703d7c90259cc61a3e2031922138079 /src/qmltyperegistrar/qmltypes.prf | |
parent | 11e206028e9bac565fa5cbfab9ae76782f7271de (diff) |
qmltyperegistrar: Fix command line options
The descriptions were badly formatted, we assumed plugins.qmltypes even
though we can also generate app.qmltypes and lib.qmltypes, and the
--generate-qmltypes option specifies a file name, not a directory.
Change-Id: Ia611198555c994ac5f5cb1ceb399fb4fc2ed780b
Fixes: QTBUG-80895
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'src/qmltyperegistrar/qmltypes.prf')
-rw-r--r-- | src/qmltyperegistrar/qmltypes.prf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qmltyperegistrar/qmltypes.prf b/src/qmltyperegistrar/qmltypes.prf index 18fe98d5a7..ed507f1834 100644 --- a/src/qmltyperegistrar/qmltypes.prf +++ b/src/qmltyperegistrar/qmltypes.prf @@ -52,7 +52,7 @@ for(dep, all_qt_module_deps) { } QML_TYPEREGISTRAR_FLAGS = \ - --generate-plugintypes=$$QMLTYPES_FILENAME \ + --generate-qmltypes=$$QMLTYPES_FILENAME \ --import-name=$$QML_IMPORT_NAME \ --major-version=$$QML_IMPORT_MAJOR_VERSION \ --minor-version=$$QML_IMPORT_MINOR_VERSION \ |