-
Bug
-
Resolution: Fixed
-
Not Evaluated
-
None
-
6.6, dev
-
None
-
-
cad9c8317 (dev), c8c7323f8 (6.6)
https://doc.qt.io/qt-6/wasm.html#building-applications-on-the-command-line
says that to enable asyncify, one should do
set target_link_options(<target> PUBLIC -sASYNCIFY -Os)
but this is incorrect, that should be
target_link_options(<target> PUBLIC -sASYNCIFY -Os)
Furthermore, this documentation doesn't explain in any way how to do that conditionally for a Webassembly build only. If I have a cross-platform project, I can't just put those target_link_options in there unconditionally, those link options aren't correct for a Windows build or a desktop Linux build.
For Gerrit Dashboard: QTBUG-117651 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
508263,4 | Wasm: Add CMake configuration tip | dev | qt/qtdoc | Status: MERGED | +2 | 0 |
511622,2 | Wasm: Add CMake configuration tip | 6.6 | qt/qtdoc | Status: MERGED | +2 | 0 |