Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Webassembly: module QtQuick.Shapes is not installed



  • Hello,

    I'm trying to use QtQuick.Shapes in a Qt webassembly project with Qt 5.13.1 but keep getting following error:

    module "QtQuick.Shapes" is not installed

    It's possible to reproduce this issue with "Shapes" example and prebuilt Qt 5.13.1 installed using the Qt Maintenance Tool. The example application compiles and runs in the browser but no shapes are displayed and browser console shows this error.

    The Qt installation contains QtQuickShapes folder in

    Qt/5.13.1/wasm_32/include/QtQuickShapes

    Similar question has been asked and resolved here:
    https://forum.qt.io/topic/104339/webassembly-qtquick-shapes-could-not-be-loaded-successfully
    and before that asked but not resolved here:
    https://forum.qt.io/topic/99157/webassembly-qml-project-with-qtquick-shapes

    I'm building the application on Ubuntu 18.04 64bit and using Firefox and Chromium from repositories to run it. I'm able to build and run QML applications that don't use QtQuick.Shapes successfully with this kit.

    Is this an error on my side or a bug?


Log in to reply