Unsolved Wasm_32 missing qml plugins after linking.
-
After successfully building the project under wasm_32. ran into a problem.
Judging by the browser log, the qml plugins, including my qml module, did not get into the executable file.QQmlApplicationEngine failed to load component qtloader.js:382 qrc:/View/main.qml:5:1: module "ViewSolutionsModule" is not installed qtloader.js:382 qrc:/View/main.qml:4:1: module "QtQuick.Controls.Material" is not installed qtloader.js:382 qrc:/View/main.qml:3:1: module "QtQuick.Controls" is not installed qtloader.js:382 qrc:/View/main.qml:2:1: module "QtQuick.Window" is not installed qtloader.js:382 qrc:/View/main.qml:1:1: module "QtQuick" is not installed qtloader.js:382 qrc:/View/main.qml:5:1: module "ViewSolutionsModule" is not installed qtloader.js:382 qrc:/View/main.qml:4:1: module "QtQuick.Controls.Material" is not installed qtloader.js:382 qrc:/View/main.qml:3:1: module "QtQuick.Controls" is not installed qtloader.js:382 qrc:/View/main.qml:2:1: module "QtQuick.Window" is not installed qtloader.js:382 qrc:/View/main.qml:1:1: module "QtQuick" is not installed qtloader.js:382 qrc:/View/main.qml:5:1: module "ViewSolutionsModule" is not installed qtloader.js:382 qrc:/View/main.qml:4:1: module "QtQuick.Controls.Material" is not installed qtloader.js:382 qrc:/View/main.qml:3:1: module "QtQuick.Controls" is not installed qtloader.js:382 qrc:/View/main.qml:2:1: module "QtQuick.Window" is not installed qtloader.js:382 qrc:/View/main.qml:1:1: module "QtQuick" is not installed qtloader.js:382 qrc:/View/main.qml:5:1: module "ViewSolutionsModule" is not installed qtloader.js:382 qrc:/View/main.qml:4:1: module "QtQuick.Controls.Material" is not installed qtloader.js:382 qrc:/View/main.qml:3:1: module "QtQuick.Controls" is not installed qtloader.js:382 qrc:/View/main.qml:2:1: module "QtQuick.Window" is not installed qtloader.js:382 qrc:/View/main.qml:1:1: module "QtQuick" is not installed qtloader.js:382 qrc:/View/main.qml:5:1: module "ViewSolutionsModule" is not installed qtloader.js:382 qrc:/View/main.qml:4:1: module "QtQuick.Controls.Material" is not installed qtloader.js:382 qrc:/View/main.qml:3:1: module "QtQuick.Controls" is not installed qtloader.js:382 qrc:/View/main.qml:2:1: module "QtQuick.Window" is not installed qtloader.js:382 qrc:/View/main.qml:1:1: module "QtQuick" is not installed
How the assembly mechanism should work, how exactly to force cmake to include all the necessary plugins in the executable file?
Honestly, I thought this should happen automatically when libraries are connected. but this does not happen.