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. WebAssembly 5.15 on Docker
QtWS25 Last Chance

WebAssembly 5.15 on Docker

Scheduled Pinned Locked Moved Solved Qt for WebAssembly
3 Posts 2 Posters 590 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.
  • G Offline
    G Offline
    guerinoni
    wrote on 29 May 2020, 08:41 last edited by
    #1

    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
    1
    • G Offline
      G Offline
      guerinoni
      wrote on 10 Jun 2020, 20:36 last edited by
      #2

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

      M 1 Reply Last reply 10 Jun 2020, 20:41
      2
      • G guerinoni
        10 Jun 2020, 20:36

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

        M Offline
        M Offline
        mrjj
        Lifetime Qt Champion
        wrote on 10 Jun 2020, 20:41 last edited by
        #3

        @guerinoni
        Thank you for sharing.

        1 Reply Last reply
        1

        • Login

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