summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEdward Welbourne <[email protected]>2025-06-03 15:03:01 +0200
committerEdward Welbourne <[email protected]>2025-06-04 16:30:32 +0200
commita34195508aeebf0f0982538cdf3852f149f051ab (patch)
treeab08d73dc1aed9fa88bab3a90789fed71fb30aa2
parent9be6e51a501dfbee1c058616b9e81b1731640e3e (diff)
Fix WASM build for the recent qtestcrashhandler changesHEADdev
Amends commit fddb6fceaa28df2a24f7bdd216792985bf8141d1 - the code in qtestcrashhandler_unix.cpp is written to compile for WASM, and some declarations in the _p.h aren't excluded on WASM, so the exclusion of the .cpp when WASM lacks threads lead to linker errors. Pick-to: 6.10 Change-Id: Idb941643302ed5a4c084d0fd2b4dfc07a44122e3 Reviewed-by: Morten Johan Sørvig <[email protected]> Reviewed-by: Thiago Macieira <[email protected]> Reviewed-by: Piotr Wierciński <[email protected]>
-rw-r--r--src/testlib/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testlib/CMakeLists.txt b/src/testlib/CMakeLists.txt
index 26ed03d81a4..0a50725e238 100644
--- a/src/testlib/CMakeLists.txt
+++ b/src/testlib/CMakeLists.txt
@@ -148,7 +148,7 @@ qt_internal_extend_target(Test CONDITION MACOS
${FWIOKit}
)
-qt_internal_extend_target(Test CONDITION UNIX AND (NOT WASM OR QT_FEATURE_thread)
+qt_internal_extend_target(Test CONDITION UNIX
SOURCES
qtestcrashhandler_unix.cpp
)