Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Solved WebAssembly 5.15 on Docker

    Qt for WebAssembly
    2
    3
    342
    Loading More Posts
    • 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.
    • guerinoni
      guerinoni last edited by

      Hi,
      I'm trying to use web assembly from a docker container (my Dockerfile here https://github.com/guerinoni/qt-wasm/blob/master/Dockerfile) but I can't access to the page from a host browser...
      I run a container with docker run -it -p 7777:6931 -v $(pwd):/src --name <name> <myimage> and run application using emrun <name>.html.
      In my local browser, I can see a directory with my file but when I select .html file it get me an error TypeError: Failed to fetch
      Any help? It is possible doing what I'm trying to do?

      1 Reply Last reply Reply Quote 1
      • guerinoni
        guerinoni last edited by

        Solved, check my docker images on dockerhub guerra1994/qt-wasm

        mrjj 1 Reply Last reply Reply Quote 2
        • mrjj
          mrjj Lifetime Qt Champion @guerinoni last edited by

          @guerinoni
          Thank you for sharing.

          1 Reply Last reply Reply Quote 1
          • First post
            Last post