wasm: make preload_qml_imports take a source path
This was running qmlimportscanner on ".", which in some cases would recurse down the qt/ symlink in the app build directory (used with dynamic linking on wasm), and find all of the imports from the Qt installation. Make it take a path instead. Users can then provide a path to the QML sources which will be passed to qmlimportscanner Change-Id: Ib5175e5dc1d26875c42f5a3e286314b7d602c9fe Reviewed-by: Piotr Wierciński <piotr.wiercinski@qt.io> Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
This commit is contained in:
parent
3e2a811f7a
commit
860bc29ffa