Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for WebAssembly
  4. Qt Creator webassembly: calendar widget doesn't compile
Forum Update on Monday, May 27th 2025

Qt Creator webassembly: calendar widget doesn't compile

Scheduled Pinned Locked Moved Unsolved Qt for WebAssembly
2 Posts 2 Posters 479 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    Vadi2
    wrote on 21 Oct 2019, 17:16 last edited by
    #1

    I've tried compiling the calendar widget using the new webassembly support in Qt Creator 4.11 beta, and it took a really long while to print out the entire text representation of the program, and then failed with:

        (i64.const 32)
       )
      )
     )
    )
    Makefile:205: recipe for target 'calendarwidget.js' failed
    Fatal: error in validating output
    shared:ERROR: '/home/vadi/Programs/emsdk/fastcomp/bin/asm2wasm ./calendarwidget.temp.asm.js --total-memory=16777216 --trap-mode=allow -Os --mem-init=./calendarwidget.js.mem --mem-base=1024 --wasm-only -g -o ./calendarwidget.wast -S --mvp-features' failed (1)
    make: *** [calendarwidget.js] Error 1
    19:10:53: The process "/usr/bin/make" exited with code 2.
    Error while building/deploying project calendarwidget (kit: Qt 5.14.0 WebAssembly)
    The kit Qt 5.14.0 WebAssembly has configuration issues which might be the root cause for this problem.
    When executing step "Make"
    19:10:53: Elapsed time: 28:35.
    

    Is there anything I can do?

    1 Reply Last reply
    0
    • L Offline
      L Offline
      lorn.potter
      wrote on 23 Oct 2019, 00:35 last edited by
      #2

      @Vadi2 said in Qt Creator webassembly: calendar widget doesn't compile:

      I've tried compiling the calendar widget using the new webassembly support in Qt Creator 4.11 beta, and it took a really long while to print out the entire text representation of the program, and then failed with:

      Its not supposed to print out that wasm text in that way. Something qtcreator is doing is breaking the build.
      Building will still work when you do it from the commandline and using the Qt wasm binaries.

      Freelance Software Engineer, Platform Maintainer QtWebAssembly, Maintainer QtSensors
      Author, Hands-On Mobile and Embedded Development with Qt 5 http://bit.ly/HandsOnMobileEmbedded

      1 Reply Last reply
      1

      1/2

      21 Oct 2019, 17:16

      • Login

      • Login or register to search.
      1 out of 2
      • First post
        1/2
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved