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
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