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