summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLorn Potter <lorn.potter@gmail.com>2022-08-24 17:57:54 +1000
committerLorn Potter <lorn.potter@gmail.com>2022-09-01 11:17:30 +1000
commitb515fa56a3144289023dc9588c5f73283599e4d4 (patch)
tree1b93bcade3ad44711ea74aed56644c6e4dad6b11 /src
parent4a29ee770f76e72fe71275d5f987fc9de9af12a0 (diff)
wasm: add Emscripten version check for apps
This will tell developers if they are using the wrong version which may not build or might cause other issues. Pick-to: 6.4 Fixes: QTBUG-105922 Change-Id: Ic5c4549d5637182dce380e415f131e33a4da416f Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
Diffstat (limited to 'src')
-rw-r--r--src/corelib/Qt6WasmMacros.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/corelib/Qt6WasmMacros.cmake b/src/corelib/Qt6WasmMacros.cmake
index c3e9613206..59f69174db 100644
--- a/src/corelib/Qt6WasmMacros.cmake
+++ b/src/corelib/Qt6WasmMacros.cmake
@@ -3,6 +3,8 @@
# Copy in Qt HTML/JS launch files for apps.
function(_qt_internal_wasm_add_target_helpers target)
+
+ _qt_test_emscripten_version()
get_target_property(targetType "${target}" TYPE)
if("${targetType}" STREQUAL "EXECUTABLE")