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

QML project containing a QQuickImageProvider fails to build for WebAssembly target platform

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 5.13.2
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
    • Platform/s:
      WebAssembly

      Description

      Have attached a small sample test app to illustrate the problem. The project builds and runs on the Linux desktop. The project fails to build when building for WebAssembly. Please note I have successfully built many Qt for WebAssembly projects on my system. I am confident it is correctly setup for building for the Qt for WebAssembly platform.

      The error message when the build fails is:
      Fatal: error in validating output
      shared:ERROR: '/home/pat/emsdk/clang/e1.38.30_64bit/binaryen/bin/asm2wasm ./TestImageProvider.temp.asm.js --total-memory=16777216 --trap-mode=clamp -O3 --mem-init=./TestImageProvider.js.mem --mem-base=1024 --wasm-only -o ./TestImageProvider.wasm --mvp-features' failed (1)
      Makefile:221: recipe for target 'TestImageProvider.js' failed
      make: *** [TestImageProvider.js] Error 1

        Attachments

        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:
              pat26 Pat Gulotta
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:

                Gerrit Reviews

                There are no open Gerrit changes