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. Simple WASM demo source

Simple WASM demo source

Scheduled Pinned Locked Moved Unsolved Qt for WebAssembly
1 Posts 1 Posters 105 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.
  • D Offline
    D Offline
    DalePennington
    wrote on last edited by
    #1

    Folks,

    I am trying Qt for WebAssembly as a pathfinder to a future solution. I did a build from source, where the source I have is Qt 6.4.3, and that seemed to work OK. I then took a simple GUI app I wrote in host (and checked it worked), did a distclean, copied it to a new directory, and then used qmake in where the wasm version was built.

    But when I did the make, compilation worked fine, but when it got to the link step (using wasm-ld), there was a whole slew of missing libraries (like -lpng) that I have no idea why they would even be needed, since I am using just buttons, labels, and text edits in the GUI. I was hoping a simple example with source might allow me to try that and see if it shows the same issues. Then I would wonder if I need to come here of the Emscripten forums for help.

    I did check the links in the pinned message, but one leads to a generic demos page whose WebAssembly link goes back to the top level Qt for WebAssembly doc page, and the other link just shows running apps, with no indication of where to find the source (include make settings in case that is the issue) for those apps.

    Thanks,
    Dale Pennington

    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