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. Run webassembly app without server
QtWS25 Last Chance

Run webassembly app without server

Scheduled Pinned Locked Moved Unsolved Qt for WebAssembly
2 Posts 2 Posters 397 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.
  • T Offline
    T Offline
    tham
    wrote on 18 Nov 2019, 14:36 last edited by
    #1

    Whenever I want to execute the app, I need to put the files on some sort of server, enter the url. Is it possible to package them as a "file" and let the browser execute it without the helps of the server?Thanks

    1 Reply Last reply
    0
    • L Offline
      L Offline
      lorn.potter
      wrote on 19 Nov 2019, 07:39 last edited by
      #2

      It needs to be served from a server. Luckily, there is a development tool in emscripten called emrun that you can use to serve the html file that gets generated when building.

      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
      2

      2/2

      19 Nov 2019, 07:39

      • Login

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