diff options
author | Morten Sørvig <morten.sorvig@qt.io> | 2022-08-26 12:54:44 +0200 |
---|---|---|
committer | Morten Johan Sørvig <morten.sorvig@qt.io> | 2022-09-08 12:15:24 +0000 |
commit | 8c959a3609e7efc7a15f1c48d92f4545bac35260 (patch) | |
tree | ea54e1e6acede51f46f31b9aca6bbd95d203a40c | |
parent | 3f23080809ff1c306b89a1627c1f03067d5a45be (diff) |
wasm: don't set GL_DEBUG
This spams the console with "writeStackCookie"/"checkStackCookie"
messages, which makes finding relevant debug output harder.
Pick-to: 6.4
Change-Id: I352b633f02f9ecc1333d1d91f5ffc21a4a937e53
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
Reviewed-by: Mikołaj Boc <Mikolaj.Boc@qt.io>
-rw-r--r-- | cmake/QtWasmHelpers.cmake | 1 | ||||
-rw-r--r-- | mkspecs/wasm-emscripten/qmake.conf | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/cmake/QtWasmHelpers.cmake b/cmake/QtWasmHelpers.cmake index 4df4ba4131..96d3edbeb3 100644 --- a/cmake/QtWasmHelpers.cmake +++ b/cmake/QtWasmHelpers.cmake @@ -53,7 +53,6 @@ function (qt_internal_setup_wasm_target_properties wasmTarget) # a few good defaults to make console more verbose while debugging target_link_options("${wasmTarget}" INTERFACE $<$<CONFIG:Debug>: "SHELL:-s DEMANGLE_SUPPORT=1" - "SHELL:-s GL_DEBUG=1" --profiling-funcs>) # target_link_options("${wasmTarget}" INTERFACE "SHELL:-s LIBRARY_DEBUG=1") # print out library calls, verbose diff --git a/mkspecs/wasm-emscripten/qmake.conf b/mkspecs/wasm-emscripten/qmake.conf index 6bb99d49b6..1b23ef54a3 100644 --- a/mkspecs/wasm-emscripten/qmake.conf +++ b/mkspecs/wasm-emscripten/qmake.conf @@ -47,7 +47,7 @@ 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 += -g2 |