[Interest] wasm build of Qt 6.1.x ?

David Skoland david.skoland at qt.io
Tue Jun 8 14:36:09 CEST 2021


Hi,

Have you tried using cmake? It might work, even if wasm won’t be officially supported again before 6.2. Compiling qt from current development HEAD and using that to cross-compile to wasm should work, though, if living on the bleeding edge is ok :)

Cheers,

David Skoland

On 7 Jun 2021, at 21:55, Nicholas Yue <yue.nicholas at gmail.com<mailto:yue.nicholas at gmail.com>> wrote:

Hi,

I have built a wasm version for Qt 5.14.2 successfully and use that to build various test applications.

I have been trying to cross compile to wasm_32 using emscripten for Qt 6.1.0.
I have not been successful.

Has anyone been able to do so ? Which version of emsdk was installed and activated for the build to be successful ? I have tried both 1.39.8 and 2.0.14 without success

The build does complete but when I use the qmake from the wasm build, there was a link error looking for freetype and OpenGL amongst other errors, has anyone come across that error ?

I also noticed that the required wasm_shell.html was not installed in the expected place by qmake.

I had a look at Qt 6.1.1 release notes hoping to find out if there was any mention of wasm/webassembly but did not see any.

Cheers
--
Nicholas Yue
Graphics - Arnold, Alembic, RenderMan, OpenGL, HDF5
Custom Dev - C++ porting, OSX, Linux, Windows
http://au.linkedin.com/in/nicholasyue
https://vimeo.com/channels/naiadtools
_______________________________________________
Interest mailing list
Interest at qt-project.org<mailto:Interest at qt-project.org>
https://lists.qt-project.org/listinfo/interest

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20210608/af56c83c/attachment.html>


More information about the Interest mailing list