diff options
author | Lorn Potter <lorn.potter@gmail.com> | 2020-04-22 10:29:15 +1000 |
---|---|---|
committer | Lorn Potter <lorn.potter@gmail.com> | 2020-05-29 11:56:36 +1000 |
commit | bc380b242d758fd0342f50ea882272c14fed9db8 (patch) | |
tree | edbd0bd89f83bb4f9f8af339b11974fc417a3729 | |
parent | 36f69229253480116de72a7ef46c3bdde1e805e5 (diff) |
wasm: add more debugging information
This also fixes source maps not getting created in debug mode.
Pick-to: 5.15
Fixes: QTBUG-83607
Change-Id: I3ed388c4fef6c286fa452a1c700fa65c2a8f9529
Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
-rw-r--r-- | mkspecs/wasm-emscripten/qmake.conf | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mkspecs/wasm-emscripten/qmake.conf b/mkspecs/wasm-emscripten/qmake.conf index a1880b4c22..2b108a5e90 100644 --- a/mkspecs/wasm-emscripten/qmake.conf +++ b/mkspecs/wasm-emscripten/qmake.conf @@ -53,9 +53,10 @@ EMCC_COMMON_LFLAGS_DEBUG = \ # -s SYSCALL_DEBUG=1 \ #print out sys calls, verbose # -s FS_LOG=1 \ #print out filesystem ops, verbose # -s SOCKET_DEBUG \ #print out socket,network data transfer - -s GL_DEBUG=1 + -s GL_DEBUG=1 \ + --profiling-funcs -QMAKE_LFLAGS_DEBUG += -g +QMAKE_LFLAGS_DEBUG += -g4 QMAKE_LFLAGS_RELEASE += -O2 QMAKE_COMPILER += emscripten |