Qt 5.13.2 and recommended emscripten
-
I am trying to build Hello world on MacOS using Qt 5.13.2, binary package. I can build recommended emscripten sdk 1.38.27 from source because it is no longer available precompiled.
I suspect that my errors are related to this,
no symbols
wasm-ld: error: main.o: machine type must be wasm32
wasm-ld: error: moc_main.o: machine type must be wasm32
wasm-ld: error: main.o: machine type must be wasm32
wasm-ld: error: moc_main.o: machine type must be wasm32
wasm-ld: error: moc_main.o: machine type must be wasm32
wasm-ld: error: main.o: machine type must be wasm32I am getting the same errors from command line and from QtCreator, using emsdk 1.39.3
Is it a way to determine whether it is emsdk error or another issue?
**boris@FastMacBook:emsdk$ ./emsdk list
The recommended precompiled SDK download is 1.39.3 (b024b71038d1291ed7ec23ecd553bf2c0c8d6da6).
To install/activate it, use one of:
latest [default (llvm) backend]
latest-fastcomp [legacy (fastcomp) backend]Those are equivalent to installing/activating the following:
1.39.3
1.39.3-fastcompAll recent (non-legacy) installable versions are:
1.39.3
1.39.2
1.39.1
1.39.0
1.38.48
1.38.47
1.38.46
1.38.45
1.38.44
1.38.43
1.38.42
1.38.41
1.38.40
1.38.39
1.38.38
1.38.37
1.38.36
1.38.35
1.38.34
1.38.33The additional following precompiled SDKs are also available for download:
sdk-1.30.0-64bit
sdk-1.34.1-64bit
sdk-1.35.0-64bit** -
Currently, we are still recommending emscripten 1.38.27 or 1.38.30 for threaded builds. These are what the Qt WebAssembly binaries are built with, and you will need to use the same emscripten version.