Navigation

    Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. Tags
    3. wasm
    Log in to post

    • UNSOLVED Calling C++ function from JavaScript through Webassembly
      Qt for WebAssembly • javascript function webassembly wasm export • • AliGB  

      2
      0
      Votes
      2
      Posts
      67
      Views

      You need to export those by adding linker arguments: https://emscripten.org/docs/porting/connecting_cpp_and_javascript/Interacting-with-code.html#interacting-with-code-ccall-cwrap
    • UNSOLVED Get URL / local IP in Qt WASM
      Qt for WebAssembly • wasm url ipv4 • • Ollie_A  

      1
      0
      Votes
      1
      Posts
      74
      Views

      No one has replied

    • UNSOLVED Building Qt5.14.2 for WebAssembly shared returns error.
      Qt for WebAssembly • webengine webassembly webengine qt5 wasm • • Oshio  

      3
      0
      Votes
      3
      Posts
      81
      Views

      Hi @SGaist , One thing that made me skeptical about the info on the introduction page, was the affirmative that webassembly doesn't support threads, which is not an absolute true, in fact is relatively simple to enable thread support with the correct emscripten version. But everything so far is telling me that is not possible, or at least it will be very hard to compile wasm as shared.
    • SOLVED Http get request : no body in webassembly
      Qt for WebAssembly • http wasm emscripten http get • • Mixlu  

      10
      0
      Votes
      10
      Posts
      193
      Views

      @Ahmed-Yarub-Hani-Al-Nuaimi Oh ok I see, thanks for your time !
    • UNSOLVED Access local user file on Qt for Web Assembly
      General and Desktop • qt5 wasm file read • • alizadeh91  

      4
      0
      Votes
      4
      Posts
      423
      Views

      @alizadeh91 See https://stackoverflow.com/questions/56886410/access-local-user-file-on-qt-for-web-assembly
    • UNSOLVED Export to wasm from a developed animating software using Qt5.12
      General and Desktop • c++ qt5 wasm qt5.12 • • alizadeh91  

      3
      0
      Votes
      3
      Posts
      141
      Views

      @alizadeh91 Basically, your question is the same as "How do I make a standalone executable that is compiled to native code that plays my animation." You need to either write or use a compiler and toolchain that builds software for the target. In this case, your target is webassembly rather than something like Win64 or OS-X. It's unclear if that's really what you want to do, but there's no real support for emitting webassembly from Qt, any more than there is for emitting Windows .exe's. Qt depends on the system's native compiler and toolchain to make compiled executables. It isn't a compiler in itself. If you are able to export your animations to a (de facto) standard format like Lottie : https://airbnb.io/lottie/ you can find off the shelf player tools which may be useful to you.
    • SOLVED Compilation hangs early when building 5.12 with WebAssembly support
      Installation and Deployment • qmake make webassembly wasm • • ivarec  

      6
      0
      Votes
      6
      Posts
      1012
      Views

      Oops! It worked in my last attempt, although it look a long time. So, my problem was Emscripten's version after all. Here is the version that worked: emscripten-1.37.1 Note: I've used emsdk to install Emscripten and I had to install a matching LLVM/CLang version: clang-e1.37.1-64bit