From 860bc29ffa1891f331ede435c7c8df3129730e8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Morten=20S=C3=B8rvig?= Date: Wed, 24 Jan 2024 14:45:36 +0100 Subject: [PATCH] wasm: make preload_qml_imports take a source path MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-by: Morten Johan Sørvig