by firecraker · 4y ago · 0 comments
All of them already have some kind of support in WebAssembly.
Not that I'm satisfied with the current state of browsers mind you. I just think not being forced to install someone's binary blob to look at web content is a net benefit.
The only way for Qt to compete with Electron is to become Electron.
Now we can have broken accessibility, usability, broken theming, and bad integration on both platforms, yay!
It makes sense, from the perspective of shops who invested heavily in upskilling on Qt, to reuse the knowledge to build web apps.
regarding the how.. Qt provides a CMake wrapper which sets up the relevant flags automatically so with CMake/Qt projects it pretty much just works. Here's my build scripts:
- https://github.com/ossia/score/blob/master/ci/wasm.deps.sh
- https://github.com/ossia/score/blob/master/ci/wasm.build.sh