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

wasm: canvas example does not load

XMLWordPrintable

    • WebAssembly
    • fd72ed794d0325e122cd42cf3c2d0e4874b7b929 ba3b53cb501a77144aa6259e48a8e0edc3d1481d

      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.

       

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes