Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

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:

        (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?



  • @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.


Log in to reply