Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-82631

wasm: canvas example does not load

    XMLWordPrintable

    Details

    • Platform/s:
      WebAssembly
    • Commits:
      fd72ed794d0325e122cd42cf3c2d0e4874b7b929 ba3b53cb501a77144aa6259e48a8e0edc3d1481d

      Description

      Since this change:

      commit 90b4528b846542bfa6f0723487315140b9de17b4

       

      I get this error when trying to run the canvas example:

      qrc:/canvas/canvas.qml:57:5: Type Examples.LauncherList unavailable
      Examples.LauncherList {
      ^
      qrc:/shared/LauncherList.qml:53:1: module "QtQml.Models" is not installed
      import QtQml.Models 2.12
      ^
      qrc:/shared/LauncherList.qml:52:1: module "QtQml" is not installed
      import QtQml 2.12
      ^
      qrc:/shared/LauncherList.qml:53:1: module "QtQml.Models" is not installed
      import QtQml.Models 2.12
      ^
      qrc:/shared/LauncherList.qml:52:1: module "QtQml" is not installed
      import QtQml 2.12
      ^

       

      Removing the lines:

       import QtQml 2.12
       import QtQml.Models 2.12

      makes this run.

       

        Attachments

          Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Activity

              People

              Assignee:
              qt.team.quick.subscriptions Qt Quick and Widgets Team
              Reporter:
              lpotter Lorn Potter
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes