Package Details: qt5-wasm 5.15.2-2

Git Clone URL: (read-only, click to copy)
Package Base: qt5-wasm
Description: A cross-platform application and UI framework for WebAssembly (No multithreading)
Upstream URL:
Licenses: custom, GPL3, LGPL3, FDL
Groups: qt-wasm, qt5-wasm
Submitter: mickybart
Maintainer: mickybart
Last Packager: mickybart
Votes: 0
Popularity: 0.000000
First Submitted: 2020-08-16 19:14 (UTC)
Last Updated: 2021-09-14 02:34 (UTC)

Latest Comments

mickybart commented on 2021-09-14 02:36 (UTC) (edited on 2021-09-14 02:36 (UTC) by mickybart)

revision 2:

patch gcc 11

emsdk 2.0.29

fix errno 13 (EM_CACHE issue)

mickybart commented on 2021-09-14 00:39 (UTC)

It's possible to run a multithreading version but browsers support can be limited.

you need emsdk 1.38.30 and -feature-thread flag to build Qt

Tofe commented on 2021-09-13 18:52 (UTC)

Some news: the XmlListModel doesn't seem to work as intended: it's always in the "Loading" state, and never has any content. I think it is related to the use of threads in the cpp code, which isn't supported by the wasm target platform. So for now, indeed, it may be better not to include qtxmlpatterns.

Tofe commented on 2021-09-13 06:38 (UTC)

I rebuilt qt-wasm yesterday with qtxmlpatterns (I'm just interested in XmlListModel): it does build, but I have some difficulties to test it because the URL I give to XmlListModel is blocked by CORS policy. Apart from that, I didn't see any specific issue.

mickybart commented on 2021-09-12 22:13 (UTC)

This is an issue with gcc 11. I will fix it (I'm testing it for Qt Android right now).

qtxmlpatterns is not officially supported ( but it can maybe work. I can include it and add a warning message about it or you can give it a try and let me know if that make sense to add it.

I will do the same for QtGraphicalEffects (used by Kirigami. That seems to work based on

But this package should be reworked to follow qt5 kde patches.

Tofe commented on 2021-09-12 16:21 (UTC) (edited on 2021-09-12 16:22 (UTC) by Tofe)

The wasm build now requires a bit of patching due to missing #include <limits> in some core Qt headers. Locally I simply patched qglobal.h to add this include line 48, and it worked well.

Also, would it be possible to add the qtxmlpatterns module to the build ? Is is supported for wasm ?