summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLorn Potter <lorn.potter@gmail.com>2022-07-13 09:17:04 +1000
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2022-08-16 01:11:13 +0000
commit364365a74fdb57b24f19980c29d1d9c27276978b (patch)
tree152677b8c53bcde7f3c88e5d5632aa6616b639dd
parente19f5dc49624af3e783fa0eb95e32582812fed1d (diff)
downloadqtdoc-364365a74fdb57b24f19980c29d1d9c27276978b.tar.gz
wasm: mention qt_add_executable in known issues
add_executable does not run the code to copy and edit the html and qtloader files needed. Change-Id: I4203f1e68b66798ecbec42a012a0c39090b56be7 Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io> Reviewed-by: Aleksandr Reviakin <aleksandr.reviakin@qt.io> Reviewed-by: Mikołaj Boc <Mikolaj.Boc@qt.io> (cherry picked from commit 9484b71bbba40b0a2f06ed0fd4cc8eab75b5c20c) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--doc/src/platforms/wasm.qdoc3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/src/platforms/wasm.qdoc b/doc/src/platforms/wasm.qdoc
index 4c1e0d86..33112a21 100644
--- a/doc/src/platforms/wasm.qdoc
+++ b/doc/src/platforms/wasm.qdoc
@@ -525,6 +525,9 @@ is not providing that capability
\li Link time error such as "wasm-ld: error: initial memory too small", requires adjustment of the
initial memory size. Use QT_WASM_INITIAL_MEMORY to set the initial size in kb, which must be a
multiple of 64KB (65536). Default is 50 MB. In CMakeFiles.txt: set(QT_WASM_INITIAL_MEMORY, "50MB");
+\li add_executable in CMakeLists.txt does not produce <target>.html or copy qtloader.js. Use
+ qt_add_executable instead.
+
\endlist
\section1 Other Topics