summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLorn Potter <lorn.potter@gmail.com>2022-08-24 17:57:54 +1000
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2022-09-01 03:48:16 +0000
commit78a0203ffaa4b0061e0d890ee7e67ae69e202733 (patch)
tree51e3b354370d39797bb6745b521d34b7d2ab4d3b /src
parent233b95f70a56b4ae953c5f75b1ce226bb1bd6cf2 (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. Fixes: QTBUG-105922 Change-Id: Ic5c4549d5637182dce380e415f131e33a4da416f Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io> (cherry picked from commit b515fa56a3144289023dc9588c5f73283599e4d4) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
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 812f7df97a..b95ab6f80f 100644
--- a/src/corelib/Qt6WasmMacros.cmake
+++ b/src/corelib/Qt6WasmMacros.cmake
@@ -1,5 +1,7 @@
# 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")