Re: [Interest] WASM build Error: Bad relocation type

2021-05-28 Thread Jason H
> However I blew away the build dir and did a full rebuild now and got: > wasm-ld: error: initial memory too small, 21088512 bytes needed > > Command line contains: "--initial-memory=16777216 --no-entry > --global-base=1024" > > Progress! :-) How do I change the memory setting [in QtCreator]? Acco

Re: [Interest] WASM build Error: Bad relocation type

2021-05-28 Thread Jason H
> Ah see, you have to read the fine print: https://doc.qt.io/qt-5/wasm.html is > the authoritative documentation. I made that clearer on the wiki now; > apologies for the confusion. > > fastcomp (the older fork-of-llvm compiler) is long since history, except if > you are using an older version

Re: [Interest] WASM build Error: Bad relocation type

2021-05-28 Thread Morten Sørvig
> On 24 May 2021, at 15:59, Jason H wrote: > >> I have retried with: >> `./emsdk activate sdk-fastcomp-1.38.27-64bit` > >> I'll keep looking into this. > > So, It's a bit confusing why fastcomp is mentioned, if it isn't supported? Ah see, you have to read the fine print: https://doc.qt.io/qt

Re: [Interest] WASM build Error: Bad relocation type

2021-05-24 Thread Jason H
> I have retried with: > `./emsdk activate sdk-fastcomp-1.38.27-64bit` > I'll keep looking into this. So, It's a bit confusing why fastcomp is mentioned, if it isn't supported? Anyway, I can't get past the wasm-ld: error: test-ui.js_qml_plugin_import.o: Bad relocation type: shared:ERROR: '...'

Re: [Interest] WASM build Error: Bad relocation type

2021-05-24 Thread Jason H
> > I'm not sure what to do no > > > I made sure I activated the right version (per > > https://wiki.qt.io/Qt_for_WebAssembly) (1.39.8) > > > I just tested an empty qml swipe app on my mac, and is working for me. > > When you activated this, did you include the --embedded argument to emsdk? > If s

Re: [Interest] WASM build Error: Bad relocation type

2021-05-21 Thread Lorn Potter
HI, On 20/5/21 6:27 AM, Jason H wrote: I was giving QtC 4.15 a spin today and saw the prompt for WebAssembly. It had been a while since I last tried it and wanted to check it out again. I configured it, adjusted my project, but errored during build at: wasm-ld: error: test-ui.js_qml_plugin_im

[Interest] WASM build Error: Bad relocation type

2021-05-19 Thread Jason H
I was giving QtC 4.15 a spin today and saw the prompt for WebAssembly. It had been a while since I last tried it and wanted to check it out again. I configured it, adjusted my project, but errored during build at: wasm-ld: error: test-ui.js_qml_plugin_import.o: Bad relocation type: shared:ERROR: