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. Associate QT WebAssembly with emscripten
QtWS25 Last Chance

Associate QT WebAssembly with emscripten

Scheduled Pinned Locked Moved Unsolved Qt for WebAssembly
5 Posts 2 Posters 796 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.
  • C Offline
    C Offline
    Clara_SA
    wrote on last edited by
    #1

    Hi everyone!

    I need help with the association of QT WebAssembly with emscripten. I have followed all the intrucctions showed in:
    https://doc.qt.io/qtcreator/creator-setup-webassembly.html and https://wiki.qt.io/Qt_for_WebAssembly and the instructions showed in emscripten web.

    I tryed with Qt 5.13 and Qt 5.14 but I can't even start because I am not able to associate WebAssembly with emscripten.

    ems01.JPG

    ems02.JPG

    Does anyone know how to solve this problem?

    Thanks in advance for any help!

    C 1 Reply Last reply
    0
    • C Clara_SA

      Hi everyone!

      I need help with the association of QT WebAssembly with emscripten. I have followed all the intrucctions showed in:
      https://doc.qt.io/qtcreator/creator-setup-webassembly.html and https://wiki.qt.io/Qt_for_WebAssembly and the instructions showed in emscripten web.

      I tryed with Qt 5.13 and Qt 5.14 but I can't even start because I am not able to associate WebAssembly with emscripten.

      ems01.JPG

      ems02.JPG

      Does anyone know how to solve this problem?

      Thanks in advance for any help!

      C Offline
      C Offline
      Clara_SA
      wrote on last edited by
      #2

      I've intalled \emsdk>emsdk install sdk-fastcomp-1.38.30-64bit, after that I added manually the emscrition compiler and lookinf for manually \clang.exe and adding one for C (clang.exe) and other for C++ (Clang++.exe). Now the emscripten compliers is able to be selected.

      But, now I have the next problem:

      ems03.JPG

      1 Reply Last reply
      0
      • C Offline
        C Offline
        Clara_SA
        wrote on last edited by
        #3

        I realize when I choose the file \clang.exe manually, Emscripten (ABI) will compile code for "x86-windows-msvc2017..." an dno t for "asmjs-unknown-unknown-emscripten-32bit" as I need.

        So, that step doen't works. = (

        Whe QT try to detect emscripten automatically:
        ems04.JPG

        When I choose file \clang.exe manually:
        ems05.JPG

        Has anyone had this same problem?

        1 Reply Last reply
        1
        • C Offline
          C Offline
          Clara_SA
          wrote on last edited by
          #4

          I think that I do not have installed correctly emscripten compiler.
          Some one know how to install it correctly for Qt 5.13.2??

          1 Reply Last reply
          1
          • lorn.potterL Offline
            lorn.potterL Offline
            lorn.potter
            wrote on last edited by
            #5

            QtCreator does not have full support for using emscripten, unless you use Qt 5.15. Even then it is still experimental and you need to enable the WebAssembly plugin from within QtCreator first.
            It's just easier to build using the commandline.

            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
            0

            • Login

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