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

WASM: Virtual Keyboard - module "QtQml" is not installed

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • 5.15.0
    • 5.15.0 Beta4
    • Virtual Keyboard
    • None
    • Windows 10 / Qt 5.15.0 Beta 4 Multithreaded / emsdk 1.39.8
      Chrome Version 81.0.4044.122 (Offizieller Build) (64-Bit)
    • WebAssembly
    • ba3b53cb501a77144aa6259e48a8e0edc3d1481d

    Description

      In Qt 5.15.0 Beta 4 a WebAssembly app with the Virtal Keyboard does not load because of:

      qtloader.js:382 QQmlApplicationEngine failed to load component
      qtloader.js:382 qrc:/main.qml:23:5: Type InputPanel unavailable
      qtloader.js:382 qrc:/QtQuick/VirtualKeyboard/content/InputPanel.qml:32:1: module "QtQml" is not installed
      

      It works if the app is built for Windows.
      It worked with Qt 5.14.0 Beta 2(emsdk 1.39.0).

      I also found a workaround for the problem, add to main.qml Line 1:

      import QtQml 2.14
      

      I attached the project to reproduce and the built wasm apps.
       

      Attachments

        1. Test_5-14-0-Beta2.zip
          9.39 MB
        2. Test_5-15-0-Beta4.zip
          8.71 MB
        3. TestProject.zip
          2 kB

        Issue Links

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

          Activity

            People

              lpotter Lorn Potter
              Marscho Marscho
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes