-
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.