Building Qt (source) for Webassembly fail
-
I am trying to build Qt from source for Web assembly. This is what i did so far:
$ /opt/Qt/5.14.1/Src/configure -xplatform wasm-emscripten -nomake examples
Completed successfully.
$ gmake
Got the following erros:
/opt/Qt/5.14.1/Src/qtbase/src/plugins/platforms/wasm/qwasmeventtranslator.cpp:549:34: error: no member named 'timestamp' in 'EmscriptenMouseEvent' auto timestamp = mouseEvent->timestamp; ~~~~~~~~~~ ^ /opt/Qt/5.14.1/Src/qtbase/src/plugins/platforms/wasm/qwasmeventtranslator.cpp:675:33: error: no member named 'timestamp' in 'EmscriptenMouseEvent' auto timestamp = mouseEvent.timestamp;
Thoughts? thanks in advance.
-
Following up on my issue above. I see this issue when building one module:
$ make module-qtbase
Some more context of the enviroment:
em++ version = 1.39.11
g++ version = 9.2.1 -
To build Qt 5.14, you need emscripten 1.38.27 or 1.38.30
-
@lorn-potter Thanks. that is what I am trying to do at the moment. I hope it go well :)
-
It seems to build successfully now... thank you!
-
@AlsaniePss said in Building Qt (source) for Webassembly fail:
build successfully now
Is your issue solved? Please don't forget to mark your post as such!
-
@Pablo-J-Rogina I am not sure how to mark it as resolved :( and yes, its resolved on my end.
-
@AlsaniePss please try right clicking the 3 vertical dots at the right of the post...