diff options
| author | Craig Scott <craig.scott@qt.io> | 2021-08-24 17:27:27 +1000 |
|---|---|---|
| committer | Craig Scott <craig.scott@qt.io> | 2021-08-25 22:26:10 +1000 |
| commit | de2637d98d289f30cea6245baea27287ffc1675d (patch) | |
| tree | 9ec2880e4c41f69a1d23b5ca7216b1e19b1caa16 /src/qml/compiler/qqmlirbuilder.cpp | |
| parent | 2a48b85b44be846b89d22490370d40aeae9a9614 (diff) | |
Clean up arguments qt6_import_qml_plugins() passes to qmlimportscanner
We already provide the list of .qml files via the .qrc files, so we
don't need to explicitly list out all the .qml files on the command
line as well. Remove them.
The first argument given to qmlimportscanner is the source directory
of the target whose qml plugins are being imported. That argument
should be preceded by -rootPath, but it wasn't. It still worked due
to the way qmlimportscanner's argument parsing was implemented, but
we shouldn't rely on that. Precede it with -rootPath.
Fixes: QTBUG-95094
Pick-to: 6.2
Change-Id: I863a1bda2e54bb70d2dabe43525ad972f8cdadfd
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'src/qml/compiler/qqmlirbuilder.cpp')
0 files changed, 0 insertions, 0 deletions
